HomePhabricator
Diffusion Comm 91fa355d9821

[native] Fixed 'items not removed from ChatList [..]' error

Description

[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:

  1. Created a new chat with 2-3 messages.
  2. Changed messages times and thread time to more than 2 weeks from now (in database).
  3. Wiped all data from the app (e.g. by logging out).
  4. Logged in and opened the created chat.
  5. 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