mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Rename win_print_with_receipt() -> win_print_outgoing_with_receipt()
This commit is contained in:
parent
3a1be74e93
commit
3e901aee99
@ -327,7 +327,7 @@ chatwin_outgoing_msg(ProfChatWin *chatwin, const char *const message, char *id,
|
||||
|
||||
if (request_receipt && id) {
|
||||
//TODO: replace_id and id
|
||||
win_print_with_receipt((ProfWin*)chatwin, enc_char, "me", message, id);
|
||||
win_print_outgoing_with_receipt((ProfWin*)chatwin, enc_char, "me", message, id);
|
||||
} else {
|
||||
win_print_outgoing((ProfWin*)chatwin, enc_char, id, replace_id, "%s", message);
|
||||
}
|
||||
|
@ -1381,11 +1381,11 @@ win_appendln_highlight(ProfWin *window, theme_item_t theme_item, const char *con
|
||||
void
|
||||
win_print_http_upload(ProfWin *window, const char *const message, char *url)
|
||||
{
|
||||
win_print_with_receipt(window, '!', NULL, message, url);
|
||||
win_print_outgoing_with_receipt(window, '!', NULL, message, url);
|
||||
}
|
||||
|
||||
void
|
||||
win_print_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, char *id)
|
||||
win_print_outgoing_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, char *id)
|
||||
{
|
||||
GDateTime *time = g_date_time_new_now_local();
|
||||
|
||||
|
@ -72,7 +72,7 @@ void win_print_history(ProfWin *window, GDateTime *timestamp, const char *const
|
||||
|
||||
void win_print_http_upload(ProfWin *window, const char *const message, char *url);
|
||||
|
||||
void win_print_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message,
|
||||
void win_print_outgoing_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message,
|
||||
char *id);
|
||||
|
||||
void win_newline(ProfWin *window);
|
||||
|
Loading…
Reference in New Issue
Block a user