Merge pull request #58 from monich/self-delete
Allow to delete messages from your own private chat
This commit is contained in:
commit
03208e47f8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue