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,
|
name: fileName ?? audioFile.path,
|
||||||
);
|
);
|
||||||
|
|
||||||
await room.sendFileEvent(
|
setState(() {
|
||||||
|
replyEvent = null;
|
||||||
|
});
|
||||||
|
room.sendFileEvent(
|
||||||
file,
|
file,
|
||||||
inReplyTo: replyEvent,
|
inReplyTo: replyEvent,
|
||||||
extraContent: {
|
extraContent: {
|
||||||
|
|
@ -691,9 +694,7 @@ class ChatController extends State<ChatPageWithRoom>
|
||||||
);
|
);
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
setState(() {
|
return;
|
||||||
replyEvent = null;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void hideEmojiPicker() {
|
void hideEmojiPicker() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue