zishang520 / socket.io-go-redis

Not fully ready yet, there may be many problems
MIT License
2 stars 4 forks source link

fix: skip separator when decoding room name #4

Closed sergey-salnikov closed 6 months ago

sergey-salnikov commented 6 months ago

Redis adapter sends broadcasts to room roomName using channel socket.io-request#/namespace#roomName#, and then when this message is received, the last # is not skipped, so room = "roomName#" and the message doesn't get delivered to the correct room.

This pull request fixes this on receiving side.

zishang520 commented 6 months ago

thx