diff --git a/packages/universe/src/server/index.js b/packages/universe/src/server/index.js index 7f11b4f..8e06b6d 100644 --- a/packages/universe/src/server/index.js +++ b/packages/universe/src/server/index.js @@ -51,7 +51,7 @@ export default { '@flecks/socket/server.request.socket': (flecks) => async ({handshake}, next) => { const {universe} = flecks.get('$humus/universe'); const {user} = handshake; - if (user) { + if (0 !== user.id) { // eslint-disable-next-line no-param-reassign handshake.entity = await universe.loadOrCreateEntity(user); }