HomePhabricator
Diffusion Comm 345bd8382ddf

[lib] Update `useRoleUserSurfacedPermissions` to handle…

Description

[lib] Update useRoleUserSurfacedPermissions to handle MinimallyEncodedThreadInfo

Summary:
Updated this permissions-related hook to handle MinimallyEncodedThreadInfo. This will allow subsequent removal of LegacyThreadInfo annotations, but will make those changes in separate diff.


Depends on D10137

Test Plan: CI/flow/etc

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

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