diff options
author | James Booth <boothj5@gmail.com> | 2013-06-23 16:35:13 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-06-23 16:35:13 +0100 |
commit | dace47e5d334a9fd7be8a73d83b8108988f78e49 (patch) | |
tree | 8c2f73dc75c59ef2c0078a29a6bbe4b77bec38fd /src/xmpp | |
parent | 265fff8f40ad521d09bf56e8f2e8fad89ef63865 (diff) | |
download | profani-tty-dace47e5d334a9fd7be8a73d83b8108988f78e49.tar.gz |
Show message when removing contact from group when not in group
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/roster.c | 5 |
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; } |