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, Nov 28, 3:30 PM
Unknown Object (File)
Thu, Nov 28, 1:13 PM
Unknown Object (File)
Mon, Nov 25, 12:04 AM
Unknown Object (File)
Sun, Nov 24, 11:55 PM
Unknown Object (File)
Thu, Nov 7, 2:38 AM
Unknown Object (File)
Oct 15 2024, 8:17 PM
Unknown Object (File)
Oct 15 2024, 8:17 PM
Unknown Object (File)
Oct 15 2024, 8:17 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