Moved roster handlers to server_events

This commit is contained in:
James Booth
2014-01-05 21:55:32 +00:00
parent 4bcd766d34
commit b8672d709a
5 changed files with 32 additions and 29 deletions

View File

@@ -343,3 +343,26 @@ handle_room_member_nick_change(const char * const room,
ui_room_member_nick_change(room, old_nick, nick);
ui_current_page_off();
}
void
handle_group_add(const char * const contact,
const char * const group)
{
ui_group_added(contact, group);
ui_current_page_off();
}
void
handle_group_remove(const char * const contact,
const char * const group)
{
ui_group_removed(contact, group);
ui_current_page_off();
}
void
handle_roster_remove(const char * const barejid)
{
ui_roster_remove(barejid);
ui_current_page_off();
}