HomePhabricator
Diffusion Comm 10778f439a3f

[lib] Introduce `useThreadInChatList` and consume in `web/ThreadListProvider`

Description

[lib] Introduce useThreadInChatList and consume in web/ThreadListProvider

Summary:
Similar to rest of diff, we want to replace usages of threadHasPermission with useThreadHasPermission.


Depends on D11914

Test Plan:
flow and close reading for now.

Logged return value of threadHasPermission and useThreadHasPermission in ThreadListProvider and ensured that they remained the same.

Reviewers: ashoat, ginsu, tomek, varun, will

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on May 14 2024, 11:09 AM
Reviewer
ashoat
Differential Revision
D11915: [lib] Introduce `useThreadInChatList` and consume in `web/ThreadListProvider`
Parents
rCOMMdf13d56f8fc9: [native] Consume `useAvailableThreadMemberActions` in…
Branches
Unknown
Tags
Unknown