Added presence_error tests, added muc_close()

This commit is contained in:
James Booth
2014-01-30 23:15:39 +00:00
parent 12666b41e6
commit 0338d136e0
9 changed files with 139 additions and 23 deletions

View File

@@ -54,6 +54,16 @@ muc_init(void)
invite_ac = autocomplete_new();
}
void
muc_close(void)
{
autocomplete_free(invite_ac);
if (rooms != NULL) {
g_hash_table_destroy(rooms);
rooms = NULL;
}
}
void
muc_add_invite(char *room)
{