Tidy up leaving room

This commit is contained in:
James Booth
2012-11-10 01:17:16 +00:00
parent 7512d70ff5
commit 81f9292948
4 changed files with 22 additions and 6 deletions

View File

@@ -208,6 +208,7 @@ prof_handle_room_message(const char * const room_jid, const char * const nick,
void
prof_handle_room_roster_complete(const char * const room)
{
room_set_roster_received(room);
win_show_room_roster(room);
win_page_off();
}
@@ -230,6 +231,13 @@ prof_handle_room_member_offline(const char * const room, const char * const nick
win_page_off();
}
void
prof_handle_leave_room(const char * const room)
{
room_leave(room);
win_close_win();
}
void
prof_handle_contact_online(char *contact, char *show, char *status)
{