DM typing indicator, and bug fix sending messages on connect

This commit is contained in:
2025-12-23 14:06:39 +01:00
parent d75d286dee
commit 4899943cfc
4 changed files with 59 additions and 35 deletions
+4 -1
View File
@@ -29,7 +29,10 @@ export default function ChannelView({
app={app}
channelName={app.currentChannel.name}
messages={messages}
sendRequest={(req) => serverRef.current?.send(JSON.stringify(req))}
sendRequest={(req) => {
while (serverRef.current?.CONNECTING) {}
serverRef.current?.send(JSON.stringify(req));
}}
indicators={indicators}
/>
);