Fix bug with empty messages
This commit is contained in:
parent
5cb897d89e
commit
9ba5d9e102
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ extension ToMessage on Event {
|
||||||
"formatted":
|
"formatted":
|
||||||
newContent?["formatted_body"] ??
|
newContent?["formatted_body"] ??
|
||||||
newContent?["body"] ??
|
newContent?["body"] ??
|
||||||
(formattedText.isEmpty ? this.body : formattedText),
|
content["formatted_body"] ??
|
||||||
|
this.body,
|
||||||
"eventType": type,
|
"eventType": type,
|
||||||
"displayName": sender.displayName ?? sender.id,
|
"displayName": sender.displayName ?? sender.id,
|
||||||
"txnId": transactionId,
|
"txnId": transactionId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue