mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_room_broadcast -> mucwin_broadcast
This commit is contained in:
parent
a575ab174c
commit
b26e606061
@ -136,7 +136,7 @@ void
|
||||
sv_ev_room_broadcast(const char *const room_jid, const char *const message)
|
||||
{
|
||||
if (muc_roster_complete(room_jid)) {
|
||||
ui_room_broadcast(room_jid, message);
|
||||
mucwin_broadcast(room_jid, message);
|
||||
} else {
|
||||
muc_pending_broadcasts_add(room_jid, message);
|
||||
}
|
||||
@ -572,7 +572,7 @@ sv_ev_muc_self_online(const char *const room, const char *const nick, gboolean c
|
||||
if (pending_broadcasts) {
|
||||
GList *curr = pending_broadcasts;
|
||||
while (curr) {
|
||||
ui_room_broadcast(room, curr->data);
|
||||
mucwin_broadcast(room, curr->data);
|
||||
curr = g_list_next(curr);
|
||||
}
|
||||
}
|
||||
|
@ -528,7 +528,7 @@ mucwin_kick_error(const char *const roomjid, const char *const nick, const char
|
||||
}
|
||||
|
||||
void
|
||||
ui_room_broadcast(const char *const roomjid, const char *const message)
|
||||
mucwin_broadcast(const char *const roomjid, const char *const message)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
if (window == NULL) {
|
||||
|
@ -125,7 +125,7 @@ void ui_room_banned(const char *const roomjid, const char *const actor, const ch
|
||||
void mucwin_occupant_banned(const char *const roomjid, const char *const nick, const char *const actor,
|
||||
const char *const reason);
|
||||
void ui_leave_room(const char *const roomjid);
|
||||
void ui_room_broadcast(const char *const roomjid, const char *const message);
|
||||
void mucwin_broadcast(const char *const roomjid, const char *const message);
|
||||
void mucwin_occupant_offline(const char *const roomjid, const char *const nick);
|
||||
void mucwin_occupant_online(const char *const roomjid, const char *const nick, const char *const roles,
|
||||
const char *const affiliation, const char *const show, const char *const status);
|
||||
|
@ -225,7 +225,7 @@ void ui_room_banned(const char * const roomjid, const char * const actor, const
|
||||
void mucwin_occupant_banned(const char * const roomjid, const char * const nick, const char * const actor,
|
||||
const char * const reason) {}
|
||||
void ui_leave_room(const char * const roomjid) {}
|
||||
void ui_room_broadcast(const char * const roomjid,
|
||||
void mucwin_broadcast(const char * const roomjid,
|
||||
const char * const message) {}
|
||||
void mucwin_occupant_offline(const char * const roomjid, const char * const nick) {}
|
||||
void mucwin_occupant_online(const char * const roomjid, const char * const nick, const char * const roles,
|
||||
|
Loading…
Reference in New Issue
Block a user