1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

Rename win_print_with_receipt() -> win_print_outgoing_with_receipt()

This commit is contained in:
Michael Vetter 2020-02-13 11:48:11 +01:00
parent 3a1be74e93
commit 3e901aee99
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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