Moved handle_room_list and handle_disco_items to server_events

This commit is contained in:
James Booth
2014-01-05 21:20:15 +00:00
parent b14d5707cb
commit d083a5407d
5 changed files with 18 additions and 18 deletions

View File

@@ -559,9 +559,9 @@ _iq_handle_discoitems_result(xmpp_conn_t * const conn, xmpp_stanza_t * const sta
}
if (g_strcmp0(id, "confreq") == 0) {
prof_handle_room_list(items, from);
handle_room_list(items, from);
} else if (g_strcmp0(id, "discoitemsreq") == 0) {
prof_handle_disco_items(items, from);
handle_disco_items(items, from);
}
g_slist_free_full(items, (GDestroyNotify)_item_destroy);