From dace47e5d334a9fd7be8a73d83b8108988f78e49 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 23 Jun 2013 16:35:13 +0100 Subject: Show message when removing contact from group when not in group --- src/xmpp/roster.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/xmpp') 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; } -- cgit 1.4.1-2-gfad0 'main'>main Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/horizon
blob: b384e30d696ae092606d2b973a9ffe962e8046e2 (plain) (tree)