Solution for bug with missing thread content after adding user to thread.
Problem
Logic works fine when the user is searching, but after sending a message and closing the search bar we still rely on pending thread.
After adding new user from modal we still have a pending thread in ConnectedMessageListContainers state, and useExistingThreadInfoFinders logic will return the same since it's pending and what is more, the thread doesn't exist anymore, because now our thread has more users and changed (that is why content is missing).
Solution
Always when there is an existing thread and user is not searching we should update a state to not rely on pending thread anymore.
I think there aren't any contraindications to do it and it helps with the issue.