mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Renamed ui_room_role_and_affiliation_change -> mucwin_role_and_affiliation_change
This commit is contained in:
parent
d706dcd4bc
commit
1a87132dc7
@ -588,7 +588,7 @@ 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)) {
|
||||
ui_room_role_and_affiliation_change(room, role, affiliation, actor, reason);
|
||||
mucwin_role_and_affiliation_change(room, role, affiliation, actor, reason);
|
||||
|
||||
// role changed
|
||||
} else if (g_strcmp0(role, old_role) != 0) {
|
||||
|
@ -69,7 +69,7 @@ mucwin_affiliation_change(const char *const roomjid, const char *const affiliati
|
||||
}
|
||||
|
||||
void
|
||||
ui_room_role_and_affiliation_change(const char *const roomjid, const char *const role, const char *const affiliation,
|
||||
mucwin_role_and_affiliation_change(const char *const roomjid, const char *const role, const char *const affiliation,
|
||||
const char *const actor, const char *const reason)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
|
@ -96,7 +96,7 @@ void mucwin_role_change(const char *const roomjid, const char *const role, const
|
||||
const char *const reason);
|
||||
void mucwin_affiliation_change(const char *const roomjid, const char *const affiliation, const char *const actor,
|
||||
const char *const reason);
|
||||
void ui_room_role_and_affiliation_change(const char *const roomjid, const char *const role,
|
||||
void mucwin_role_and_affiliation_change(const char *const roomjid, const char *const role,
|
||||
const char *const affiliation, const char *const actor, const char *const reason);
|
||||
void ui_room_occupant_role_change(const char *const roomjid, const char *const nick, const char *const role,
|
||||
const char *const actor, const char *const reason);
|
||||
|
@ -195,7 +195,7 @@ void mucwin_role_change(const char * const roomjid, const char * const role, con
|
||||
const char * const reason) {}
|
||||
void mucwin_affiliation_change(const char * const roomjid, const char * const affiliation, const char * const actor,
|
||||
const char * const reason) {}
|
||||
void ui_room_role_and_affiliation_change(const char * const roomjid, const char * const role,
|
||||
void mucwin_role_and_affiliation_change(const char * const roomjid, const char * const role,
|
||||
const char * const affiliation, const char * const actor, const char * const reason) {}
|
||||
void ui_room_occupant_role_change(const char * const roomjid, const char * const nick, const char * const role,
|
||||
const char * const actor, const char * const reason) {}
|
||||
|
Loading…
Reference in New Issue
Block a user