ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
864 stars 228 forks source link

Unsubscribe to channels with wild card #109

Open shaharmintz opened 9 years ago

shaharmintz commented 9 years ago

If I'm correct, the current code doesn't allow unsubscribing to channels with wild cards, i.e if I have 2 channels such as: rooms/parties/1 and rooms/parties/2, calling unsubscribeto("rooms/parties/") [notice the '_'] would remove subscription of both channels. I'd love to know if this is actually currently possible, if not - requesting as enhancement.