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,6 +339,7 @@ export default function Home() {
|
||||||
}
|
}
|
||||||
return x;
|
return x;
|
||||||
}));
|
}));
|
||||||
|
if (whoami.id != null)
|
||||||
socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes);
|
socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue