mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_room_occupant_role_and_affiliation_change -> mucwin_occupant_role_and_affiliation_change
This commit is contained in:
parent
88206dc39b
commit
94f05ff42f
@ -659,7 +659,7 @@ sv_ev_muc_occupant_online(const char *const room, const char *const nick, const
|
||||
if (prefs_get_boolean(PREF_MUC_PRIVILEGES)) {
|
||||
// both changed
|
||||
if ((g_strcmp0(role, old_role) != 0) && (g_strcmp0(affiliation, old_affiliation) != 0)) {
|
||||
ui_room_occupant_role_and_affiliation_change(room, nick, role, affiliation, actor, reason);
|
||||
mucwin_occupant_role_and_affiliation_change(room, nick, role, affiliation, actor, reason);
|
||||
|
||||
// role changed
|
||||
} else if (g_strcmp0(role, old_role) != 0) {
|
||||
|
@ -115,7 +115,7 @@ mucwin_occupant_affiliation_change(const char *const roomjid, const char *const
|
||||
}
|
||||
|
||||
void
|
||||
ui_room_occupant_role_and_affiliation_change(const char *const roomjid, const char *const nick, const char *const role,
|
||||
mucwin_occupant_role_and_affiliation_change(const char *const roomjid, const char *const nick, const char *const role,
|
||||
const char *const affiliation, const char *const actor, const char *const reason)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
|
@ -102,7 +102,7 @@ void mucwin_occupant_role_change(const char *const roomjid, const char *const ni
|
||||
const char *const actor, const char *const reason);
|
||||
void mucwin_occupant_affiliation_change(const char *const roomjid, const char *const nick,
|
||||
const char *const affiliation, const char *const actor, const char *const reason);
|
||||
void ui_room_occupant_role_and_affiliation_change(const char *const roomjid, const char *const nick,
|
||||
void mucwin_occupant_role_and_affiliation_change(const char *const roomjid, const char *const nick,
|
||||
const char *const role, const char *const affiliation, const char *const actor, const char *const reason);
|
||||
void ui_room_roster(const char *const roomjid, GList *occupants, const char *const presence);
|
||||
void ui_room_history(const char *const roomjid, const char *const nick, GDateTime *timestamp,
|
||||
|
@ -201,7 +201,7 @@ void mucwin_occupant_role_change(const char * const roomjid, const char * const
|
||||
const char * const actor, const char * const reason) {}
|
||||
void mucwin_occupant_affiliation_change(const char * const roomjid, const char * const nick, const char * const affiliation,
|
||||
const char * const actor, const char * const reason) {}
|
||||
void ui_room_occupant_role_and_affiliation_change(const char * const roomjid, const char * const nick, const char * const role,
|
||||
void mucwin_occupant_role_and_affiliation_change(const char * const roomjid, const char * const nick, const char * const role,
|
||||
const char * const affiliation, const char * const actor, const char * const reason) {}
|
||||
void ui_room_roster(const char * const roomjid, GList *occupants, const char * const presence) {}
|
||||
void ui_room_history(const char * const roomjid, const char * const nick,
|
||||
|
Loading…
Reference in New Issue
Block a user