HomePhabricator
Diffusion Comm b24bedc0e4bf

[native] Make MessageList able to fetch messages if none are present

Description

[native] Make MessageList able to fetch messages if none are present

Summary:
With the changes in the earlier diff, we may end up with zero messages for a given thread. This diff makes it possible for us to fetch messages in that case.

Depends On D3351

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: palys-swm

Subscribers: benschac, Adrian, karol-bisztyga

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

Details