1
0
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:
James Booth 2015-11-01 21:35:15 +00:00
parent a575ab174c
commit b26e606061
4 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}

View File

@ -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) {

View File

@ -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);

View File

@ -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,