about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/roster.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c
index f29ac09b..262ad0b1 100644
--- a/src/xmpp/roster.c
+++ b/src/xmpp/roster.c
@@ -326,6 +326,11 @@ roster_remove_from_group(const char * const group, const char * const barejid)
 
     if (contact != NULL) {
         if (!p_contact_in_group(contact, group)) {
+            if (p_contact_name(contact) != NULL) {
+                prof_handle_not_in_group(p_contact_name(contact), group);
+            } else {
+                prof_handle_not_in_group(p_contact_barejid(contact), group);
+            }
             return;
         }