Don't auto-join if logged in
This commit is contained in:
parent
e4f7a403b7
commit
1141934cbd
1 changed files with 2 additions and 1 deletions
|
@ -339,7 +339,8 @@ export default function Home() {
|
|||
}
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue