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 {