Page MenuHomePhabricator

[native][web] Update `ChatInputBar` to pass `communityThreadInfo` to `threadFrozenDueToViewerBlock`
ClosedPublic

Authored by atul on Mar 11 2024, 2:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 4:59 PM
Unknown Object (File)
Thu, Apr 11, 4:59 PM
Unknown Object (File)
Thu, Apr 11, 4:59 PM
Unknown Object (File)
Thu, Apr 11, 4:58 PM
Unknown Object (File)
Apr 3 2024, 1:36 PM
Unknown Object (File)
Apr 1 2024, 10:31 PM
Unknown Object (File)
Apr 1 2024, 10:19 PM
Unknown Object (File)
Mar 31 2024, 11:14 PM
Subscribers

Details

Summary

We added communityThreadInfo: ?(RawThreadInfo | ThreadInfo) field to threadFrozenDueToViewerBlock and updated ChatInputBar on both clients to pass in communityThreadInfo. For now we're not doing anything with communityThreadInfo in threadFrozenDueToViewerBlock, this is in preparation for that. We need to do something similar for threadFrozenDueToBlock and then threadIsWithBlockedUserOnly and then threadOrParentThreadHasAdminRole, etc.


Depends on D11286

Test Plan

Logged communityThreadInfo in ChatInputBar on clients + in threadFrozenDueToViewerBlock and ensured that it appeared as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable