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
F5109112: D11308.diff
Tue, Apr 1, 4:59 PM
Unknown Object (File)
Feb 22 2025, 1:31 AM
Unknown Object (File)
Feb 22 2025, 1:31 AM
Unknown Object (File)
Feb 22 2025, 1:31 AM
Unknown Object (File)
Feb 22 2025, 1:31 AM
Unknown Object (File)
Feb 22 2025, 1:31 AM
Unknown Object (File)
Feb 11 2025, 12:56 PM
Unknown Object (File)
Jan 23 2025, 11:47 AM
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