This allows us to narrow things as threadIsWithBlockedUserOnlyWithoutAdminRoleCheck only accepts ThreadInfo and will help us remove ThreadInfo from memberHasAdminPowers.memberInfo argument without that invariant.
Depends on D12289
Differential D12290
[lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission` atul on Jun 3 2024, 1:25 PM. Authored by Tags None Referenced Files
Subscribers None
Details This allows us to narrow things as threadIsWithBlockedUserOnlyWithoutAdminRoleCheck only accepts ThreadInfo and will help us remove ThreadInfo from memberHasAdminPowers.memberInfo argument without that invariant. Depends on D12289 flow + close reading
Diff Detail
Event Timeline
|