mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_room_role_change -> mucwin_role_change
This commit is contained in:
parent
bb5150b062
commit
75b505cf6a
@ -592,7 +592,7 @@ sv_ev_muc_self_online(const char *const room, const char *const nick, gboolean c
|
||||
|
||||
// role changed
|
||||
} else if (g_strcmp0(role, old_role) != 0) {
|
||||
ui_room_role_change(room, role, actor, reason);
|
||||
mucwin_role_change(room, role, actor, reason);
|
||||
|
||||
// affiliation changed
|
||||
} else if (g_strcmp0(affiliation, old_affiliation) != 0) {
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "ui/window.h"
|
||||
|
||||
void
|
||||
ui_room_role_change(const char *const roomjid, const char *const role, const char *const actor,
|
||||
mucwin_role_change(const char *const roomjid, const char *const role, const char *const actor,
|
||||
const char *const reason)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
|
@ -92,7 +92,7 @@ void ui_disconnected(void);
|
||||
void ui_outgoing_private_msg(ProfPrivateWin *privwin, const char *const message);
|
||||
void ui_room_join(const char *const roomjid, gboolean focus);
|
||||
void ui_switch_to_room(const char *const roomjid);
|
||||
void ui_room_role_change(const char *const roomjid, const char *const role, const char *const actor,
|
||||
void mucwin_role_change(const char *const roomjid, const char *const role, const char *const actor,
|
||||
const char *const reason);
|
||||
void ui_room_affiliation_change(const char *const roomjid, const char *const affiliation, const char *const actor,
|
||||
const char *const reason);
|
||||
|
@ -191,7 +191,7 @@ void ui_outgoing_private_msg(ProfPrivateWin *privwin, const char * const message
|
||||
void ui_room_join(const char * const roomjid, gboolean focus) {}
|
||||
void ui_switch_to_room(const char * const roomjid) {}
|
||||
|
||||
void ui_room_role_change(const char * const roomjid, const char * const role, const char * const actor,
|
||||
void mucwin_role_change(const char * const roomjid, const char * const role, const char * const actor,
|
||||
const char * const reason) {}
|
||||
void ui_room_affiliation_change(const char * const roomjid, const char * const affiliation, const char * const actor,
|
||||
const char * const reason) {}
|
||||
|
Loading…
Reference in New Issue
Block a user