[native] Fixed 'items not removed from ChatList [..]' error
Summary:
Issue: https://linear.app/comm/issue/ENG-2235/missing-loader-error
The message should never show in the console, but it was shown if we entered not loaded almost empty chat (e.g. older than 2 weeks, with only a few messages).
Test Plan:
- Created a new chat with 2-3 messages.
- Changed messages times and thread time to more than 2 weeks from now (in database).
- Wiped all data from the app (e.g. by logging out).
- Logged in and opened the created chat.
- Now the message doesn't show in the console, and the app work as expected.
Reviewers: tomek, inka, michal, ashoat
Reviewed By: ashoat
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D6743