Stickers can now also be send as replies
This commit is contained in:
parent
42a697591d
commit
ade5cb34fb
1 changed files with 3 additions and 1 deletions
|
@ -1245,9 +1245,11 @@ Page {
|
||||||
target: stickerPickerLoader.item
|
target: stickerPickerLoader.item
|
||||||
onStickerPicked: {
|
onStickerPicked: {
|
||||||
Debug.log("Sticker picked: " + stickerId);
|
Debug.log("Sticker picked: " + stickerId);
|
||||||
tdLibWrapper.sendStickerMessage(chatInformation.id, stickerId);
|
tdLibWrapper.sendStickerMessage(chatInformation.id, stickerId, newMessageColumn.replyToMessageId);
|
||||||
stickerPickerLoader.active = false;
|
stickerPickerLoader.active = false;
|
||||||
attachmentOptionsFlickable.isNeeded = false;
|
attachmentOptionsFlickable.isNeeded = false;
|
||||||
|
newMessageInReplyToRow.inReplyToMessage = null;
|
||||||
|
newMessageColumn.editMessageId = "0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue