Page MenuHomePhabricator

[lib] Make sure we set isViewer in useExistingThreadInfoFinder
ClosedPublic

Authored by ashoat on Sep 30 2024, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 17, 1:05 AM
Unknown Object (File)
Wed, Apr 16, 10:40 PM
Unknown Object (File)
Wed, Apr 16, 9:54 PM
Unknown Object (File)
Wed, Apr 16, 5:23 AM
Unknown Object (File)
Mon, Apr 14, 3:10 PM
Unknown Object (File)
Thu, Apr 3, 11:09 PM
Unknown Object (File)
Tue, Mar 25, 6:31 PM
Unknown Object (File)
Mar 9 2025, 5:27 PM
Subscribers
None

Details

Summary

When we call createPendingThread in useExistingThreadInfoFinder, we need to include isViewer in order to make sure a PRIVATE thread is rendered as eg. "ashoat" instead of "just you". This is because the naming is based on ifJustViewer, which only applies if the members list only includes the viewer.

Depends on D13546

Test Plan

Confirm that I see eg. "ashoat" instead of "just you" for PRIVATE thread uiName

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage