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 7, 2:38 AM
Unknown Object (File)
Tue, Oct 15, 8:17 PM
Unknown Object (File)
Tue, Oct 15, 8:17 PM
Unknown Object (File)
Tue, Oct 15, 8:17 PM
Unknown Object (File)
Tue, Oct 15, 8:17 PM
Unknown Object (File)
Tue, Oct 15, 8:17 PM
Unknown Object (File)
Sep 4 2024, 2:54 PM
Unknown Object (File)
Sep 4 2024, 2:54 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
Branch
arcpatch-D11308 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage