Page MenuHomePhabricator

[lib] Simplify `threadMemberHasPermission()`
ClosedPublic

Authored by atul on Apr 23 2024, 10:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 1:37 AM
Unknown Object (File)
Sat, Nov 30, 12:09 AM
Unknown Object (File)
Nov 21 2024, 2:05 PM
Unknown Object (File)
Nov 6 2024, 2:02 AM
Unknown Object (File)
Nov 3 2024, 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
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