stream-chat-android
stream-chat-android copied to clipboard
Improve ChatClient setUser logic to wait connectionId
Currently setUser uses getConnectionId to extract connectionId, however, if socket is in Connecting state we treat as no connection id case.
Expected:
If socket is in Connecting state we should wait for Connecting -> Connected transition get grab a valid connectionId.
Slack discussion is here