From f435d081b09c8023db5262a7fe110fe3d18eea1c Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 1 Nov 2015 21:31:54 +0000 Subject: [PATCH] Renamed ui_room_message -> mucwin_message --- src/event/server_events.c | 2 +- src/ui/mucwin.c | 2 +- src/ui/ui.h | 2 +- tests/unittests/ui/stub_ui.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/event/server_events.c b/src/event/server_events.c index 5b99bdc1..e6f749be 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -162,7 +162,7 @@ void sv_ev_room_message(const char *const room_jid, const char *const nick, const char *const message) { - ui_room_message(room_jid, nick, message); + mucwin_message(room_jid, nick, message); if (prefs_get_boolean(PREF_GRLOG)) { Jid *jid = jid_create(jabber_get_fulljid()); diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 51d7e922..62f8f48f 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -362,7 +362,7 @@ mucwin_history(const char *const roomjid, const char *const nick, } void -ui_room_message(const char *const roomjid, const char *const nick, +mucwin_message(const char *const roomjid, const char *const nick, const char *const message) { ProfMucWin *mucwin = wins_get_muc(roomjid); diff --git a/src/ui/ui.h b/src/ui/ui.h index c870ea8b..b00df993 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -107,7 +107,7 @@ void mucwin_occupant_role_and_affiliation_change(const char *const roomjid, cons void mucwin_roster(const char *const roomjid, GList *occupants, const char *const presence); void mucwin_history(const char *const roomjid, const char *const nick, GDateTime *timestamp, const char *const message); -void ui_room_message(const char *const roomjid, const char *const nick, const char *const message); +void mucwin_message(const char *const roomjid, const char *const nick, const char *const message); void ui_room_subject(const char *const roomjid, const char *const nick, const char *const subject); void ui_room_requires_config(const char *const roomjid); void ui_room_destroy(const char *const roomjid); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 7ba6028a..56b74780 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -206,7 +206,7 @@ void mucwin_occupant_role_and_affiliation_change(const char * const roomjid, con void mucwin_roster(const char * const roomjid, GList *occupants, const char * const presence) {} void mucwin_history(const char * const roomjid, const char * const nick, GDateTime *timestamp, const char * const message) {} -void ui_room_message(const char * const roomjid, const char * const nick, +void mucwin_message(const char * const roomjid, const char * const nick, const char * const message) {} void ui_room_subject(const char * const roomjid, const char * const nick, const char * const subject) {} void ui_room_requires_config(const char * const roomjid) {}