HomePhabricator
Diffusion Comm 93f4eb08785d

[lib] Update signatures in `thread-utils` to handle `MinimallyEncodedThreadInfo`

Description

[lib] Update signatures in thread-utils to handle MinimallyEncodedThreadInfo

Summary:
Similar to D9811, we're updating utilities in thread-utils to handle MinimallyEncodedThreadInfo where the change is as simple as updating fn signature.

Will now go through and handle the ones that require more refactoring/branching/etc. Specifically:

  • threadUIName
  • checkIfDefaultMembers
  • patchThreadInfoToIncludeMentionedMembersOfParent
  • useRoleUserSurfacedPermissions

Depends on D9846

Test Plan: Entirely flow for now.

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Nov 13 2023, 3:01 PM
Reviewer
ashoat
Differential Revision
D9847: [lib] Update signatures in `thread-utils` to handle `MinimallyEncodedThreadInfo`
Parents
rCOMM9564d2eed1d3: [lib] Introduce `MinimallyEncodedThreadInfo` type
Branches
Unknown
Tags
Unknown