diff --git a/src/server/sockets.js b/src/server/sockets.js index 85f3261..a6bb275 100644 --- a/src/server/sockets.js +++ b/src/server/sockets.js @@ -106,7 +106,7 @@ export function createSocketServer(httpServer) { socket: socket.id, timestamp, })) - .expire(key, 600) + .expire(key, '/r/anonymous' === channel ? 60 : 600) .exec(() => fn([timestamp, uuid])); } if (packet instanceof Usernames) {