Merge branch 'messageOptionsDrawer' of github.com:Wunderfitz/harbour-fernschreiber into messageOptionsDrawer

This commit is contained in:
Sebastian Wolf 2021-02-16 18:52:13 +01:00
commit a734690d0d
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -793,7 +793,7 @@ Page {
width: parent.width
visible: messageOptionsDrawer.myMessage.can_be_deleted_for_all_users || (messageOptionsDrawer.myMessage.can_be_deleted_only_for_self && messageOptionsDrawer.myMessage.chat_id === chatPage.myUserId)
onClicked: {
var chatId = page.chatInformation.id;
var chatId = chatPage.chatInformation.id;
var messageId = messageOptionsDrawer.myMessage.id;
Remorse.itemAction(messageOptionsDrawer.sourceItem, qsTr("Message deleted"), function() { tdLibWrapper.deleteMessages(chatId, [ messageId ]); });
messageOptionsDrawer.closeDrawer();