fix read indicators

This commit is contained in:
Henry Hiles 2025-11-23 14:50:38 -05:00
commit e55d7c4c58
No known key found for this signature in database
6 changed files with 36 additions and 14 deletions

View file

@ -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(