Page MenuHomePhabricator

[lib] Simplify `threadMemberHasPermission()`
ClosedPublic

Authored by atul on Apr 23 2024, 10:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 13, 11:45 AM
Unknown Object (File)
Thu, Mar 13, 11:45 AM
Unknown Object (File)
Thu, Mar 13, 11:44 AM
Unknown Object (File)
Thu, Mar 13, 11:44 AM
Unknown Object (File)
Thu, Mar 13, 11:44 AM
Unknown Object (File)
Tue, Mar 11, 10:41 PM
Unknown Object (File)
Feb 6 2025, 2:46 PM
Unknown Object (File)
Jan 23 2025, 11:17 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable