mucwin_handle_role_list takes ProfMucWin

This commit is contained in:
James Booth
2015-11-02 00:47:43 +00:00
parent 1aa3c0ea4f
commit 7bedb6c294
4 changed files with 26 additions and 23 deletions

View File

@@ -1422,7 +1422,10 @@ _room_role_list_result_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const sta
}
}
mucwin_handle_role_list(from, role, nicks);
ProfMucWin *mucwin = wins_get_muc(from);
if (mucwin) {
mucwin_handle_role_list(mucwin, role, nicks);
}
free(role);
g_slist_free(nicks);