mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-06 20:19:30 +01:00
fix: Reply with voice messages
This commit is contained in:
parent
493987fe74
commit
386144f0bc
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user