xep-0308: enable correction in outgoing messages with delivery receipts

This commit is contained in:
Michael Vetter
2020-02-13 12:24:12 +01:00
parent 3aad0523d7
commit 9b3593bdf9
3 changed files with 10 additions and 8 deletions

View File

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