mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 06:56:21 +00:00
Removed prof_handle group functions
This commit is contained in:
@@ -334,36 +334,6 @@ roster_get_group(const char * const group)
|
||||
return result;
|
||||
}
|
||||
|
||||
void
|
||||
roster_add_to_group(const char * const group, PContact contact)
|
||||
{
|
||||
assert(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;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
roster_remove_from_group(const char * const group, PContact contact)
|
||||
{
|
||||
assert(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;
|
||||
}
|
||||
}
|
||||
|
||||
GSList *
|
||||
roster_get_groups(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user