Removed hash_table_iter usage for room roster

This commit is contained in:
James Booth
2014-11-03 21:27:41 +00:00
parent 7a03dd7641
commit 74a2d4601f
6 changed files with 32 additions and 30 deletions

View File

@@ -681,8 +681,9 @@ handle_muc_self_online(const char * const room, const char * const nick, gboolea
// show roster if occupants list disabled by default
if (!prefs_get_boolean(PREF_OCCUPANTS)) {
GList *roster = muc_roster(room);
ui_room_roster(room, roster, NULL);
GList *occupants = muc_roster(room);
ui_room_roster(room, occupants, NULL);
g_list_free(occupants);
}
char *subject = muc_subject(room);