fix: Reply with voice messages

This commit is contained in:
Christian Pauly 2021-08-12 09:59:42 +02:00
parent 493987fe74
commit 386144f0bc

View File

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