mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Rename win_print_incoming_message -> win_print_incoming
This commit is contained in:
parent
3b2ceee89b
commit
80309462ca
@ -247,7 +247,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha
|
||||
|
||||
// currently viewing chat window with sender
|
||||
if (wins_is_current(window)) {
|
||||
win_print_incoming_message(window, timestamp, display_name, plugin_message, enc_mode);
|
||||
win_print_incoming(window, timestamp, display_name, plugin_message, enc_mode);
|
||||
title_bar_set_typing(FALSE);
|
||||
status_bar_active(num);
|
||||
|
||||
@ -274,7 +274,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha
|
||||
}
|
||||
}
|
||||
|
||||
win_print_incoming_message(window, timestamp, display_name, plugin_message, enc_mode);
|
||||
win_print_incoming(window, timestamp, display_name, plugin_message, enc_mode);
|
||||
}
|
||||
|
||||
if (prefs_get_boolean(PREF_BEEP)) {
|
||||
|
@ -60,7 +60,7 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, const char *const message, GDat
|
||||
|
||||
// currently viewing chat window with sender
|
||||
if (wins_is_current(window)) {
|
||||
win_print_incoming_message(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN);
|
||||
win_print_incoming(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN);
|
||||
title_bar_set_typing(FALSE);
|
||||
status_bar_active(num);
|
||||
|
||||
@ -68,7 +68,7 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, const char *const message, GDat
|
||||
} else {
|
||||
status_bar_new(num);
|
||||
cons_show_incoming_private_message(jidp->resourcepart, jidp->barejid, num, privatewin->unread);
|
||||
win_print_incoming_message(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN);
|
||||
win_print_incoming(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN);
|
||||
|
||||
privatewin->unread++;
|
||||
|
||||
|
@ -984,7 +984,7 @@ win_show_status_string(ProfWin *window, const char *const from,
|
||||
}
|
||||
|
||||
void
|
||||
win_print_incoming_message(ProfWin *window, GDateTime *timestamp,
|
||||
win_print_incoming(ProfWin *window, GDateTime *timestamp,
|
||||
const char *const from, const char *const message, prof_enc_t enc_mode)
|
||||
{
|
||||
char enc_char = '-';
|
||||
|
@ -61,7 +61,7 @@ void win_show_status_string(ProfWin *window, const char *const from,
|
||||
const char *const default_show);
|
||||
|
||||
void win_print_outgoing(ProfWin *window, const char ch, const char *const message, ...);
|
||||
void win_print_incoming_message(ProfWin *window, GDateTime *timestamp,
|
||||
void win_print_incoming(ProfWin *window, GDateTime *timestamp,
|
||||
const char *const from, const char *const message, prof_enc_t enc_mode);
|
||||
|
||||
void win_print_http_upload(ProfWin *window, const char *const message, char *url);
|
||||
|
Loading…
Reference in New Issue
Block a user