mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 10:26:20 +00:00
Show message when contact already in group
This commit is contained in:
@@ -293,6 +293,11 @@ roster_add_to_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_already_in_group(p_contact_name(contact), group);
|
||||
} else {
|
||||
prof_handle_already_in_group(p_contact_barejid(contact), group);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user