fix connected on anonymous
This commit is contained in:
parent
6223050451
commit
5589cc4ce1
@ -331,7 +331,7 @@ class ConnectionManager {
|
||||
throw new Error("No Auth code provided");
|
||||
}
|
||||
}
|
||||
const { authToken, userUuid, email, username, locale, textures } = await Axios.get(
|
||||
const { authToken, userUuid, email, username, locale, textures, anonymous } = await Axios.get(
|
||||
`${PUSHER_URL}/login-callback`,
|
||||
{
|
||||
params: { code, nonce, token, playUri: this.currentRoom?.key },
|
||||
@ -378,7 +378,7 @@ class ConnectionManager {
|
||||
}
|
||||
|
||||
//user connected, set connected store for menu at true
|
||||
userIsConnected.set(true);
|
||||
userIsConnected.set(!anonymous);
|
||||
}
|
||||
|
||||
async getWorlds() : Promise<World[]> {
|
||||
|
Loading…
Reference in New Issue
Block a user