From 2900bf4aefceb9c62c6de02106815632ac5fc043 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 13 Feb 2020 11:09:55 +0100 Subject: Rename `win_println_them_message()` -> `win_println_incoming_muc_msg()` In aa3693daa211b36c78d136d5a1ee9f3258e21352 I renamed `win_println_me_message()` -> `win_print_outgoing_muc_msg()`. Now: `win_println_them_message()` -> `win_println_incoming_muc_msg()` to be more consistent and descriptive. --- src/ui/mucwin.c | 2 +- src/ui/window.c | 2 +- src/ui/window.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index dddcb825..28c3beea 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -566,7 +566,7 @@ mucwin_incoming_msg(ProfMucWin *mucwin, ProfMessage *message, GSList *mentions, win_print_them(window, THEME_ROOMTRIGGER, ch, flags, message->jid->resourcepart); _mucwin_print_triggers(window, message->plain, triggers); } else { - win_println_them_message(window, ch, flags, message->jid->resourcepart, message->id, message->replace_id, "%s", message->plain); + win_println_incoming_muc_msg(window, ch, flags, message->jid->resourcepart, message->id, message->replace_id, "%s", message->plain); } } diff --git a/src/ui/window.c b/src/ui/window.c index bb02dcdf..262c9e7e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1145,7 +1145,7 @@ win_print_them(ProfWin *window, theme_item_t theme_item, char ch, int flags, con } void -win_println_them_message(ProfWin *window, char ch, int flags, const char *const them, const char *const id, const char *const replace_id, const char *const message, ...) +win_println_incoming_muc_msg(ProfWin *window, char ch, int flags, const char *const them, const char *const id, const char *const replace_id, const char *const message, ...) { //TODO: we always use current timestamp here. instead of the message->timestamp one if available. i think somewhere else we check whether it exists first. GDateTime *timestamp = g_date_time_new_now_local(); diff --git a/src/ui/window.h b/src/ui/window.h index 66c6e5ff..302306fd 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -62,7 +62,7 @@ void win_show_status_string(ProfWin *window, const char *const from, const char *const default_show); void win_print_them(ProfWin *window, theme_item_t theme_item, char ch, int flags, const char *const them); -void win_println_them_message(ProfWin *window, char ch, int flags, const char *const them, const char *const id, const char *const replace_id, const char *const message, ...); +void win_println_incoming_muc_msg(ProfWin *window, char ch, int flags, const char *const them, const char *const id, const char *const replace_id, const char *const message, ...); void win_print_outgoing_muc_msg(ProfWin *window, char ch, const char *const me, const char *const id, const char *const replace_id, const char *const message, ...); void win_print_outgoing(ProfWin *window, const char ch, const char *const id, const char *const replace_id, const char *const message, ...); -- cgit 1.4.1-2-gfad0