chore: Follow up send voice message

This commit is contained in:
Christian Kußowski 2025-09-28 18:27:50 +02:00
commit 1549b47fed
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -667,7 +667,10 @@ class ChatController extends State<ChatPageWithRoom>
name: fileName ?? audioFile.path, name: fileName ?? audioFile.path,
); );
await room.sendFileEvent( setState(() {
replyEvent = null;
});
room.sendFileEvent(
file, file,
inReplyTo: replyEvent, inReplyTo: replyEvent,
extraContent: { extraContent: {
@ -691,9 +694,7 @@ class ChatController extends State<ChatPageWithRoom>
); );
return null; return null;
}); });
setState(() { return;
replyEvent = null;
});
} }
void hideEmojiPicker() { void hideEmojiPicker() {