mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-20 00:15:34 +00:00
fix: Reply with voice messages
This commit is contained in:
parent
cdfb97ab58
commit
768fa06dbb
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue