mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 12:36:21 +00:00
mucwin_occupant_presence takes ProfMucWin
This commit is contained in:
@@ -658,8 +658,9 @@ sv_ev_muc_occupant_online(const char *const room, const char *const nick, const
|
||||
// presence updated
|
||||
if (updated) {
|
||||
char *muc_status_pref = prefs_get_string(PREF_STATUSES_MUC);
|
||||
if (g_strcmp0(muc_status_pref, "all") == 0) {
|
||||
mucwin_occupant_presence(room, nick, show, status);
|
||||
ProfMucWin *mucwin = wins_get_muc(room);
|
||||
if (mucwin && (g_strcmp0(muc_status_pref, "all") == 0)) {
|
||||
mucwin_occupant_presence(mucwin, nick, show, status);
|
||||
}
|
||||
prefs_free_string(muc_status_pref);
|
||||
occupantswin_occupants(room);
|
||||
|
||||
Reference in New Issue
Block a user