Keep messages only this device has when a grouped channel list refres… · GetStream/stream-chat-android@d9afbc2 · GitHub
Skip to content

Commit d9afbc2

Browse files
authored
Keep messages only this device has when a grouped channel list refreshes (#6728)
* Keep messages only this device has when a grouped channel list refreshes * Test that a grouped refresh keeps local messages with the real state merge * Skip the removal when the grouped page still has every channel
1 parent f1d77ee commit d9afbc2

2 files changed

Lines changed: 76 additions & 5 deletions

File tree

  • stream-chat-android-client/src

‎stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/plugin/logic/querychannels/internal/QueryChannelsLogic.kt‎

Lines changed: 6 additions & 1 deletion

‎stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/state/plugin/logic/querychannels/internal/QueryChannelsLogicGroupedTest.kt‎

Lines changed: 70 additions & 4 deletions

0 commit comments

Comments
 (0)