Don't auto-join if logged in

This commit is contained in:
MeowcaTheoRange 2024-05-09 16:34:33 -05:00
parent e4f7a403b7
commit 1141934cbd

View file

@ -339,7 +339,8 @@ export default function Home() {
} }
return x; return x;
})); }));
socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes); if (whoami.id != null)
socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes);
} }
} }