allow to show "forward" option in chats with restricted permission

this reverts one condition from commit b603031. I can't think about any reason why "forward" should be hidden.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-05-12 14:18:27 +02:00
parent a1b7a52b24
commit 681dbfa025
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -83,8 +83,7 @@ class MessageActionsDialog(
)
initMenuDeleteMessage(showMessageDeletionButton)
initMenuForwardMessage(
hasChatPermission &&
ChatMessage.MessageType.REGULAR_TEXT_MESSAGE == message.getMessageType() &&
ChatMessage.MessageType.REGULAR_TEXT_MESSAGE == message.getMessageType() &&
!(message.isDeletedCommentMessage || message.isDeleted)
)
initMenuMarkAsUnread(