diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index 7c3db8f..ed4d610 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -469,7 +469,7 @@ Page { deleteMessageRemorseItem.execute(messageListItem, qsTr("Deleting message"), function() { tdLibWrapper.deleteMessages(chatInformation.id, [ display.id ]); } ); } text: qsTr("Delete Message") - visible: display.can_be_deleted_for_all_users + visible: display.can_be_deleted_for_all_users || (display.can_be_deleted_only_for_self && display.chat_id === chatPage.myUserId) } }