mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
feat(messaging): hide new message bar on esc or sent message
This commit is contained in:
@@ -192,6 +192,7 @@ export default observer(({ channel }: Props) => {
|
||||
if (uploadState.type === "attached") return sendFile(content);
|
||||
if (content.length === 0) return;
|
||||
|
||||
internalEmit("NewMessages", "hide");
|
||||
stopTyping();
|
||||
setMessage();
|
||||
setReplies([]);
|
||||
|
||||
Reference in New Issue
Block a user