HomePhabricator
Diffusion Comm 3fa4720b1ea2

[lib] Update `threadHasPermission` to support `MinimallyEncodedRawThreadInfo`

Description

[lib] Update threadHasPermission to support MinimallyEncodedRawThreadInfo

Summary:
Update threadHasPermission in thread-utils to support MinimallyEncodedRawThreadInfo via .minimallyEncoded and hasPermission check.

Going to go ahead and do a refactor of a bunch of utils in thread-utils all at once, but will separate out the more "important" ones(?) into their own diffs


Depends on D9809

Test Plan: Will write unit tests once all the Flow stuff is figured out.

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

Subscribers: wyilio

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

Details