Small cleanup before merge

This commit is contained in:
Benoit Marty 2020-02-14 14:34:22 +01:00
parent 030d6824e3
commit e4577d8fef
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Features ✨:
- Polls and Bot Buttons (MSC 2192 matrix-org/matrix-doc#2192) - Polls and Bot Buttons (MSC 2192 matrix-org/matrix-doc#2192)
Improvements 🙌: 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) - Open room member profile from reactions list and read receipts list (#875)
Bugfix 🐛: Bugfix 🐛:

View File

@ -171,7 +171,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
if (timelineEvent.root.isRedacted()) { if (timelineEvent.root.isRedacted()) {
return getRedactionReason(timelineEvent) return getRedactionReason(timelineEvent)
} }
return when (timelineEvent.root.getClearType()) { return when (timelineEvent.root.getClearType()) {
EventType.MESSAGE, EventType.MESSAGE,
EventType.STICKER -> { EventType.STICKER -> {