Results 14 issues of Kanat

Hi. **DeliverLatest** completes automatically when the source observable is done. In my case I have a **Repository** which emits data from **Cache**, **DB** and **API**. I can emit from Cache...

Currently, we have a single coroutine scope instance available within the `ChatClient` instance. Would be nice If we could create/extract `per-user-scope` as we do for plugins in order to avoid...

`ThreadLogic.onRequest` should provide thread messages available in the database. Related PR: https://github.com/GetStream/stream-chat-android/pull/3926

core

I noticed that `SyncManager.connectionRecovered` method sometimes takes up to 1 min. ``` 2022-05-26 12:50:47.929 13169-13495/io.getstream.chat.android.compose.sample.debug D/Chat:SyncManager: [connectionRecovered] firstConnect: false 2022-05-26 12:51:47.980 13169-13495/io.getstream.chat.android.compose.sample.debug V/Chat:SyncManager: [connectionRecovered] completed ``` It was happening on...

core

Currently `QueryChannelsPostponeHelper` uses `retry` + `delay` + `timeout` logic. It should be more `Event-driven` and just wait for the `WS` connection to be established + `timeout` logic.

core

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...

core

in order to prevent getting an `SQLiteBlobTooBigException` we have to normalize `stream_chat_channel_state` by extracting `members` & `reads` blob columns to separate tables. `SQLiteBlobTooBigException` can be easily reproduced by manual inserting...

### 🎯 Changes - event handling in `ChatClient `is not behind a `Mutex` - introduced new coroutine elements for `UserScope` such as `UserIdentifier` and `UserJob` ### 🧪 Testing - apply...

core

Currently, `retryFailedEntities` is being called right before syncing. This is because the `syncing` process fetches events from the previous session, thereby may override all `SYNC_NEEDED` messages from that session with...

### 🎯 Goal Closes: - https://github.com/GetStream/android-internal-board/issues/231 ### ☑️Contributor Checklist #### General - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required) - [ ] Assigned a person / code owner...