HomePhabricator
Diffusion Comm a41c34b166ba

[lib] Make sure thick threads starts out with startReached

Description

[lib] Make sure thick threads starts out with startReached

Summary:
In order to make sure that startReached starts out as true when a thread is created, we set truncationStatus to "exhaustive".

I thought about always using exhaustive, but this conflicts with our plans in the Limit number of displayed DMs project, where we'll want startReached to be false if there are messages in SQLite that are not represented in Redux.

Depends on D12827

Test Plan: I followed the test plan described in this Linear comment. Before this diff, the spinner was visible in the newly-created thick thread. After this diff, it was no longer visible

Reviewers: tomek, kamil, marcin

Reviewed By: tomek

Differential Revision: https://phab.comm.dev/D12828

Details

Provenance
ashoatAuthored on Jul 20 2024, 8:32 PM
Reviewer
tomek
Differential Revision
D12828: [lib] Make sure thick threads starts out with startReached
Parents
rCOMMfa1d5228f1a2: [lib] Reduce duplication in message-types.js
Branches
Unknown
Tags
Unknown