Show message when removing contact from group when not in group

This commit is contained in:
James Booth
2013-06-23 16:35:13 +01:00
parent 265fff8f40
commit dace47e5d3
5 changed files with 27 additions and 6 deletions

View File

@@ -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;
}