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)
Tue, Dec 24, 7:33 AM
Unknown Object (File)
Tue, Dec 24, 7:33 AM
Unknown Object (File)
Tue, Dec 24, 7:33 AM
Unknown Object (File)
Tue, Dec 24, 7:33 AM
Unknown Object (File)
Tue, Dec 24, 7:32 AM
Unknown Object (File)
Fri, Dec 6, 2:50 AM
Unknown Object (File)
Fri, Dec 6, 1:14 AM
Unknown Object (File)
Wed, Dec 4, 7:50 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