We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b24810 commit 427e3b9Copy full SHA for 427e3b9
apps/sim/socket/rooms/redis-manager.ts
@@ -282,8 +282,8 @@ export class RedisRoomManager implements IRoomManager {
282
],
283
arguments: [
284
socketId,
285
- updates.cursor ? JSON.stringify(updates.cursor) : '',
286
- updates.selection ? JSON.stringify(updates.selection) : '',
+ updates.cursor !== undefined ? JSON.stringify(updates.cursor) : '',
+ updates.selection !== undefined ? JSON.stringify(updates.selection) : '',
287
(updates.lastActivity ?? Date.now()).toString(),
288
SOCKET_KEY_TTL.toString(),
289
0 commit comments