For a chat iOS application using Couchbase lite with Couchbase server having support for channeling. The channeling is implemented such that two users doing chat will receive chat messages relevant to each other and not related to other users. For example for a three device system (D1, D2, D3) with logged in users U1, U2, U3. When user U1 (on device D1) chats with U2 (on device D2) then they receive chat messages as expected and both the devices contain data related to this chat. If now user U1 logs out and user U3 logged in on device D1 and start chatting with user U2. In this case what about the data which is already present on device D1 (related to chat between U1 and U2)? Will Couchbase lite automatically remove this data from device D1? The older data should be removed from device D1 since it is not as per the current channeling setup.
Thanks