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

Move QueryChannelsListenerImpl out of state module

Open leandroBorgesFerreira opened this issue 2 years ago • 0 comments

Context & proposal The query listeners: QueryChannelListenerImpl, QueryChannelsListenerImpl and ThreadQueryListenerFull are different from the other listeners because they are not separated into two different listeners containing only state or persistence. They need to have both logics they use the database to update the state.

That said, we need to move those listeners outside both state and offline modules so they can act as a class controlling the logic of state and database part of the listener.

In this ticket, it is needed to move QueryChannelsListenerImpl outside of state module. The listener should be in a place where it can be used to interact with both state and offline parts of the SDK.

Acceptance criteria

  • [ ] QueryChannelsListenerImpl is outside of the state module.

leandroBorgesFerreira avatar Sep 19 '22 14:09 leandroBorgesFerreira