Added roster struct, create and destroy roster on connect/disconnect

This commit is contained in:
James Booth
2016-01-05 00:06:50 +00:00
parent 8e9bf08389
commit 055a5f71ce
18 changed files with 409 additions and 326 deletions

View File

@@ -746,8 +746,7 @@ cons_show_status(const char *const barejid)
}
void
cons_show_room_invite(const char *const invitor, const char * const room,
const char *const reason)
cons_show_room_invite(const char *const invitor, const char * const room, const char *const reason)
{
char *display_from = NULL;
PContact contact = roster_get_contact(invitor);