From ade5cb34fbe81690711d25d246471c956c22931c Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Sun, 14 Feb 2021 10:46:29 +0100 Subject: [PATCH] Stickers can now also be send as replies --- qml/pages/ChatPage.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index 1cc24a8..6922ab7 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -1245,9 +1245,11 @@ Page { target: stickerPickerLoader.item onStickerPicked: { Debug.log("Sticker picked: " + stickerId); - tdLibWrapper.sendStickerMessage(chatInformation.id, stickerId); + tdLibWrapper.sendStickerMessage(chatInformation.id, stickerId, newMessageColumn.replyToMessageId); stickerPickerLoader.active = false; attachmentOptionsFlickable.isNeeded = false; + newMessageInReplyToRow.inReplyToMessage = null; + newMessageColumn.editMessageId = "0"; } }