stream-chat-android icon indicating copy to clipboard operation
stream-chat-android copied to clipboard

Improve ChatClient setUser logic to wait connectionId

Open kanat opened this issue 3 years ago • 0 comments

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

kanat avatar Jun 23 '22 10:06 kanat