I do Client.join() with callback, supplying incorrect channel key
Then I realize, what've I done, and supply correct channel key
Desired behavior:
Callback should be called only once, when we successfully enter the channel
Actual behavior:
Callback gets called twice
Additional features, while we're at it
When join doesn't happen due to ex. user needing invitation or with aforementioned channel key error, there should be the way to bind to it easily, and not just parse the 'error' callback
Scenario:
Desired behavior:
Actual behavior:
Additional features, while we're at it
'error'
callback