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

@@ -74,7 +74,7 @@ cl_ev_disconnect(void)
cons_show("%s logged out successfully.", jid);
jabber_disconnect();
roster_clear();
roster_destroy();
muc_invites_clear();
chat_sessions_clear();
tlscerts_clear_current();