HomePhabricator
Diffusion Comm de8c28384472

[lib] Including pending thread for viewer in useThreadListSearch

Description

[lib] Including pending thread for viewer in useThreadListSearch

Summary:
Before this work, we always had a GENESIS_PRIVATE thread for the viewer, so we had no reason to support pending private threads in useThreadListSearch.

Now we would like to support that. We'll show a pending private thread only if no private thread exists.

Depends on D13536

Test Plan: In combination with the rest of the stack, test creating a PRIVATE thread via thread list search on both web and native

Reviewers: tomek, kamil, inka

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on Fri, Sep 27, 12:58 PM
Reviewer
tomek
Differential Revision
D13537: [lib] Including pending thread for viewer in useThreadListSearch
Parents
rCOMM463e3e489ac3: [lib] Factor out useOldestPrivateThreadInfo
Branches
Unknown
Tags
Unknown