diff --git a/CHANGES.md b/CHANGES.md index e05c52c835..ffc80c76c8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,7 +5,7 @@ Features ✨: - Polls and Bot Buttons (MSC 2192 matrix-org/matrix-doc#2192) Improvements 🙌: - - Show confirmation dialog before deleting a message (#967) + - Show confirmation dialog before deleting a message (#967, #1003) - Open room member profile from reactions list and read receipts list (#875) Bugfix 🐛: diff --git a/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsViewModel.kt b/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsViewModel.kt index 8a908c842f..a36215007d 100644 --- a/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsViewModel.kt +++ b/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsViewModel.kt @@ -171,7 +171,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted if (timelineEvent.root.isRedacted()) { return getRedactionReason(timelineEvent) } - + return when (timelineEvent.root.getClearType()) { EventType.MESSAGE, EventType.STICKER -> {