From 9b3593bdf9e00bb042de80f250899d201eccb091 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 13 Feb 2020 12:24:12 +0100 Subject: xep-0308: enable correction in outgoing messages with delivery receipts --- src/ui/chatwin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/chatwin.c') 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); } -- cgit 1.4.1-2-gfad0