mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
chat: ensure joined chats are loaded before joining
This commit is contained in:
parent
880ff81589
commit
4389c635d1
@ -194,6 +194,11 @@ export default class ChatApp extends React.Component<ChatAppProps, {}> {
|
||||
render={(props) => {
|
||||
let station = `/${props.match.params.ship}/${props.match.params.station}`;
|
||||
|
||||
// ensure we know joined chats
|
||||
if(!chatInitialized) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Skeleton
|
||||
associations={associations}
|
||||
|
Loading…
Reference in New Issue
Block a user