chore: Follow up send voice message

pull/2005/merge
Christian Kußowski 3 weeks ago
parent e86deb99c9
commit 1549b47fed
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

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

Loading…
Cancel
Save