feat: enable config to set channel to private#61
Conversation
- insert config to get replay from broadcast
|
I need this as well so I thought I would try to put in some effort. I was not able to get it working, but one bit of feedback... I think there should be a default for channel options: using a public channel: using a private channel: I needed to look at the Channel(channelName) overload to see what the defaults are and recreate them. As for the feature itself. Not sure why mine is failing. I am getting: "RealtimeException: {"ref":"eab379c2-0025-4721-bf1d-2faf105955dd","event":"phx_reply","payload":{"status":"error","response":{"reason":"Unauthorized: You do not have permissions to read from this Channel topic: test"}},"topic":"realtime:test"}" Let me know if I can help out further in anyway, but for my own needs I'll use http to access broadcasts. |
What kind of change does this PR introduce?
feature
What is the current behavior?
It doesn't have the option to set channel to private
What is the new behavior?
Additional context