about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 84af8ab1..732cbf5c 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -207,6 +207,13 @@ prof_handle_roster_add(const char * const barejid, const char * const name)
 }
 
 void
+prof_handle_roster_remove(const char * const barejid)
+{
+    ui_roster_remove(barejid);
+    ui_current_page_off();
+}
+
+void
 prof_handle_login_account_success(char *account_name)
 {
     ProfAccount *account = accounts_get_account(account_name);