socket.io-redis-adapter
socket.io-redis-adapter copied to clipboard
fix: add support for legacy mode
The latest release checks for Redis v4 but doesn't check if the user enabled legacyMode. If legacyMode is enabled, subscribe functions are causing errors.
Unfortunately the Redis client API currently doesn't offer any way to check if legacy mode is enabled which is the reason why it I have to check it in this hacky way.