mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 10:46:20 +00:00
mucwin_occupant_online takes ProfMucWin
This commit is contained in:
@@ -646,8 +646,9 @@ sv_ev_muc_occupant_online(const char *const room, const char *const nick, const
|
||||
// joined room
|
||||
if (!occupant) {
|
||||
char *muc_status_pref = prefs_get_string(PREF_STATUSES_MUC);
|
||||
if (g_strcmp0(muc_status_pref, "none") != 0) {
|
||||
mucwin_occupant_online(room, nick, role, affiliation, show, status);
|
||||
ProfMucWin *mucwin = wins_get_muc(room);
|
||||
if (mucwin && g_strcmp0(muc_status_pref, "none") != 0) {
|
||||
mucwin_occupant_online(mucwin, nick, role, affiliation, show, status);
|
||||
}
|
||||
prefs_free_string(muc_status_pref);
|
||||
occupantswin_occupants(room);
|
||||
|
||||
Reference in New Issue
Block a user