fix read indicators
This commit is contained in:
parent
919e8d11b2
commit
e55d7c4c58
6 changed files with 36 additions and 14 deletions
|
|
@ -65,6 +65,7 @@ extension ToMessage on Event {
|
|||
return switch (type) {
|
||||
EventTypes.Encrypted => asText.copyWith(
|
||||
text: "Unable to decrypt message.",
|
||||
metadata: {"formatted": "Unable to decrypt message.", ...metadata},
|
||||
),
|
||||
EventTypes.Message => switch (messageType) {
|
||||
MessageTypes.Image => Message.image(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue