fix state disposal of sidebar on mobile layouts
This commit is contained in:
parent
6dafcfad30
commit
0c58ae562d
4 changed files with 43 additions and 14 deletions
|
|
@ -39,12 +39,11 @@ extension ToMessage on Event {
|
|||
final replyId = relationshipType == RelationshipTypes.reply
|
||||
? relationshipEventId
|
||||
: null;
|
||||
final sender = (await fetchSenderUser()) ?? senderFromMemoryOrFallback;
|
||||
final metadata = {
|
||||
"formatted": formattedText.isEmpty ? body : formattedText,
|
||||
"eventType": type,
|
||||
"displayName":
|
||||
senderFromMemoryOrFallback.displayName ??
|
||||
senderFromMemoryOrFallback.id,
|
||||
"displayName": sender.displayName ?? sender.id,
|
||||
"txnId": transactionId,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue