Page MenuHomePhabricator

[lib] Simplify `threadMemberHasPermission()`
ClosedPublic

Authored by atul on Apr 23 2024, 10:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 2:05 PM
Unknown Object (File)
Wed, Nov 6, 2:02 AM
Unknown Object (File)
Sun, Nov 3, 2:47 AM
Unknown Object (File)
Oct 12 2024, 4:30 PM
Unknown Object (File)
Oct 12 2024, 4:30 PM
Unknown Object (File)
Oct 12 2024, 4:30 PM
Unknown Object (File)
Oct 12 2024, 4:29 PM
Unknown Object (File)
Oct 12 2024, 4:29 PM
Subscribers

Details

Summary

This function is only consumed by appendUserInfo which is only consumed in usePotentialMemberItems. This hook is only used on client, so there's no need to support Server* or Legacy* types.

We can also skip .minimallyEncoded branch since all clients work exclusively with MinimallyEncoded* types at this point.


Depends on D11740

Test Plan

NA, flow and read through callsites.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage