mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 21:26:21 +00:00
mucwin_role_and_affiliation_change takes ProfMucWin
This commit is contained in:
@@ -588,7 +588,10 @@ sv_ev_muc_self_online(const char *const room, const char *const nick, gboolean c
|
||||
if (prefs_get_boolean(PREF_MUC_PRIVILEGES)) {
|
||||
// both changed
|
||||
if ((g_strcmp0(role, old_role) != 0) && (g_strcmp0(affiliation, old_affiliation) != 0)) {
|
||||
mucwin_role_and_affiliation_change(room, role, affiliation, actor, reason);
|
||||
ProfMucWin *mucwin = wins_get_muc(room);
|
||||
if (mucwin) {
|
||||
mucwin_role_and_affiliation_change(mucwin, role, affiliation, actor, reason);
|
||||
}
|
||||
|
||||
// role changed
|
||||
} else if (g_strcmp0(role, old_role) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user