chore: Follow up send voice message
This commit is contained in:
parent
e86deb99c9
commit
1549b47fed
1 changed files with 5 additions and 4 deletions
|
|
@ -667,7 +667,10 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
name: fileName ?? audioFile.path,
|
||||
);
|
||||
|
||||
await room.sendFileEvent(
|
||||
setState(() {
|
||||
replyEvent = null;
|
||||
});
|
||||
room.sendFileEvent(
|
||||
file,
|
||||
inReplyTo: replyEvent,
|
||||
extraContent: {
|
||||
|
|
@ -691,9 +694,7 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
);
|
||||
return null;
|
||||
});
|
||||
setState(() {
|
||||
replyEvent = null;
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
void hideEmojiPicker() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue