diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-03-10 07:50:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 07:50:30 +0100 |
commit | 96c1c44a9d1608475d61f4df7bc9114ed18c1821 (patch) | |
tree | 7f3e59fa4641501d630225e29fcb993ec8ec0655 /src/ui | |
parent | 792be5519ee767bb42305ef1d88eaf8570ff7cad (diff) | |
parent | d043d53948284ab7d1f3ae92c891703033cc98b1 (diff) | |
download | profani-tty-96c1c44a9d1608475d61f4df7bc9114ed18c1821.tar.gz |
Merge pull request #1795 from IsaacM88/master
Fix duplicate download IDs when using "/url save"
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/window.c | 4 | ||||
-rw-r--r-- | src/ui/window.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 4bbec7a4..064069c7 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1680,9 +1680,9 @@ win_appendln_highlight(ProfWin* window, theme_item_t theme_item, const char* con } void -win_print_http_transfer(ProfWin* window, const char* const message, char* url) +win_print_http_transfer(ProfWin* window, const char* const message, char* id) { - win_print_outgoing_with_receipt(window, "!", NULL, message, url, NULL); + win_print_outgoing_with_receipt(window, "!", NULL, message, id, NULL); } void diff --git a/src/ui/window.h b/src/ui/window.h index 3b78dc58..1c0a9007 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -74,7 +74,7 @@ void win_print_outgoing_muc_msg(ProfWin* window, char* show_char, const char* co void win_print_history(ProfWin* window, const ProfMessage* const message); void win_print_old_history(ProfWin* window, const ProfMessage* const message); -void win_print_http_transfer(ProfWin* window, const char* const message, char* url); +void win_print_http_transfer(ProfWin* window, const char* const message, char* id); void win_newline(ProfWin* window); void win_redraw(ProfWin* window); |