Show occupants role and affiliation when they join a room

This commit is contained in:
James Booth
2014-10-18 00:52:42 +01:00
parent 014f0f7a91
commit 9134a65e97
4 changed files with 15 additions and 7 deletions

View File

@@ -752,7 +752,7 @@ handle_muc_occupant_online(const char * const room, const char * const nick, con
if (!existing) {
char *muc_status_pref = prefs_get_string(PREF_STATUSES_MUC);
if (g_strcmp0(muc_status_pref, "none") != 0) {
ui_room_member_online(room, nick, show, status);
ui_room_member_online(room, nick, role, affiliation, show, status);
}
prefs_free_string(muc_status_pref);
ui_muc_roster(room);