mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +03:00
Compute message body for encrypted messages too.
This commit is contained in:
parent
f28e4cf991
commit
fd135e1eeb
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
|
|||
private fun computeMessageBody(timelineEvent: TimelineEvent): CharSequence {
|
||||
return when (timelineEvent.root.getClearType()) {
|
||||
EventType.MESSAGE,
|
||||
EventType.ENCRYPTED,
|
||||
EventType.STICKER -> {
|
||||
when (timelineEvent.root.isRedacted()) {
|
||||
true -> getRedactionReason(timelineEvent)
|
||||
|
|
Loading…
Add table
Reference in a new issue