From 1391c28f700fb7cc49653edb11ceda72d318f36c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kol=C3=A1rik?= Date: Wed, 13 Mar 2024 13:20:10 +0100 Subject: [PATCH] Update sharded-adapter.ts --- lib/sharded-adapter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sharded-adapter.ts b/lib/sharded-adapter.ts index 8003090..9bd0a26 100644 --- a/lib/sharded-adapter.ts +++ b/lib/sharded-adapter.ts @@ -149,8 +149,8 @@ class ShardedRedisAdapter extends ClusterAdapter { message.type === MessageType.BROADCAST && message.data.requestId === undefined && message.data.opts.rooms.length === 1 && - (this.opts.dynamicPrivateChannels || !looksLikeASocketId(message.data.opts.rooms[0]) - ); + (this.opts.dynamicPrivateChannels || + !looksLikeASocketId(message.data.opts.rooms[0])); if (useDynamicChannel) { return this.dynamicChannel(message.data.opts.rooms[0]); } else {