This occurs because the second time around, the channel will be in a DETACHED state, and trying to enter presence on that channel will give the error unable to enter presence channel (incompatible channel state: Detached).
So, we follow Android’s approach, and check the channel’s state and attach if necessary before we try to enter presence.
This occurs because the second time around, the channel will be in a
DETACHED
state, and trying to enter presence on that channel will give the errorunable to enter presence channel (incompatible channel state: Detached)
.So, we follow Android’s approach, and check the channel’s state and attach if necessary before we try to enter presence.
Closes #431.