[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