about summary refs log tree commit diff stats
path: root/src/ui/chatwin.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-13 12:24:12 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-14 10:17:07 +0100
commit9b3593bdf9e00bb042de80f250899d201eccb091 (patch)
tree9d34c1c36d65a4f987a7d32946fe872a09fe3897 /src/ui/chatwin.c
parent3aad0523d786ade3be55d3ec1b10ebacc4471bd7 (diff)
downloadprofani-tty-9b3593bdf9e00bb042de80f250899d201eccb091.tar.gz
xep-0308: enable correction in outgoing messages with delivery receipts
Diffstat (limited to 'src/ui/chatwin.c')
-rw-r--r--src/ui/chatwin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c
index bb651e5f..859921b9 100644
--- a/src/ui/chatwin.c
+++ b/src/ui/chatwin.c
@@ -326,8 +326,7 @@ chatwin_outgoing_msg(ProfChatWin *chatwin, const char *const message, char *id,
     }
 
     if (request_receipt && id) {
-        //TODO: replace_id and id
-        win_print_outgoing_with_receipt((ProfWin*)chatwin, enc_char, "me", message, id);
+        win_print_outgoing_with_receipt((ProfWin*)chatwin, enc_char, "me", message, id, replace_id);
     } else {
         win_print_outgoing((ProfWin*)chatwin, enc_char, id, replace_id, "%s", message);
     }
6 7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22