fix: Reply with voice messages

This commit is contained in:
Christian Pauly 2021-08-12 09:59:42 +02:00
parent cdfb97ab58
commit 768fa06dbb

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 {