fix: Reply with voice messages

This commit is contained in:
Christian Pauly 2021-08-12 09:59:42 +02:00
parent 493987fe74
commit 386144f0bc
1 changed files with 4 additions and 0 deletions

View File

@ -348,8 +348,12 @@ class ChatController extends State<Chat> {
future: () => room.sendFileEvent(
MatrixAudioFile(
bytes: audioFile.readAsBytesSync(), name: audioFile.path),
inReplyTo: replyEvent,
),
);
setState(() {
replyEvent = null;
});
}
void sendLocationAction() async {