You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect that calling eg. createPublicChannel("support") where #support already exists, would let me join the channel, as the JSDoc states. However, I'm getting this error: A public channel with the chosen name exists already.
The text was updated successfully, but these errors were encountered:
I admit that the documentation doesn't match the actual behavior. It is sometimes hard to design the API without seeing the actual UI. I've now changed my opinion a bit about the behavior and think that it could be confusing if you were thrown into an existing channel without any notice when you thought that you were creating a brand new channel instead.
From that POV I think Slack's interface makes total sense:
If we'd want to add a bit of convenience we could still add another button that would allow to join the existing channel.
What do you think? Change the documentation or the behavior of the method?
The JSDoc for
createPublicChannel
on the JS SDK says that: https://gist.github.com/nesium/f1c21dfb0d345b8c223017f418343a4e#file-prose_sdk_js-d-ts-L482I'd expect that calling eg.
createPublicChannel("support")
where#support
already exists, would let me join the channel, as the JSDoc states. However, I'm getting this error:A public channel with the chosen name exists already.
The text was updated successfully, but these errors were encountered: