HomePhabricator
Diffusion Comm d6fa6b7fc944

[lib] Introduce `useThreadFrozenDueToViewersBlock`

Description

[lib] Introduce useThreadFrozenDueToViewersBlock

Summary:
We introduce a "hook version" of threadFrozenDueToViewersBlock which will allow us to set skipMemberAdminRoleCheck to true in the call to threadIsWithBlockedUserOnly in [web/native]/ChatInputBar and use the "updated" community role logic instead.


Depends on D12265

Test Plan: So far just flow and some log statements to ensure that value is as expected + same as before.

Reviewers: ashoat, ginsu, tomek, varun

Reviewed By: ashoat, tomek

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

Details

Provenance
atulAuthored on Jun 16 2024, 1:58 PM
Reviewer
ashoat
Differential Revision
D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`
Parents
rCOMM56ba0de13be0: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`
Branches
Unknown
Tags
Unknown