HomePhabricator
Diffusion Comm c3135d9be421

[lib] Show loader when there are no messages

Description

[lib] Show loader when there are no messages

Summary:
Earlier changes in this stack made it possible for a thread to appear without any messages. Without this change, the loader doesn't appear when there aren't messages, which means that MessageList in native never triggers a message fetch.

Depends On D3352

Test Plan:
I decreased defaultMaxMessageAge such that no messages got loaded at all, and made sure that when I opened a thread without messages, the messages were fetche
d

Reviewers: palys-swm, atul

Reviewed By: atul

Subscribers: benschac, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3353

Details

Provenance
ashoatAuthored on Mar 6 2022, 4:18 PM
Reviewer
atul
Differential Revision
D3353: [lib] Show loader when there are no messages
Parents
rCOMMb24bedc0e4bf: [native] Make MessageList able to fetch messages if none are present
Branches
Unknown
Tags
Unknown