Removed prof_handle group functions

This commit is contained in:
James Booth
2014-01-05 23:24:48 +00:00
parent 1d716e48ad
commit 76484665fd
5 changed files with 14 additions and 54 deletions

View File

@@ -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)
{