Skip to content

Commit

Permalink
FIxed deletion of voice, video, image, contact and location messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Smarshal21 committed Sep 16, 2023
1 parent 9db52c1 commit 2577140
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class MessageActionsDialog(
hasUserActorId(message) &&
currentConversation?.type != ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL
)
initMenuDeleteMessage(showMessageDeletionButton)
initMenuDeleteMessage(ChatMessage.MessageType.SYSTEM_MESSAGE != message.getCalculateMessageType())
initMenuForwardMessage(
ChatMessage.MessageType.REGULAR_TEXT_MESSAGE == message.getCalculateMessageType() &&
!(message.isDeletedCommentMessage || message.isDeleted)
Expand Down

0 comments on commit 2577140

Please sign in to comment.