|
|
@ -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() {
|
|
|
|