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
F3311480: D13547.id44728.diff
Tue, Nov 19, 8:59 AM
F3311478: D13547.id44777.diff
Tue, Nov 19, 8:58 AM
Unknown Object (File)
Sun, Nov 10, 4:20 PM
Unknown Object (File)
Fri, Nov 8, 3:01 AM
Unknown Object (File)
Fri, Nov 8, 3:01 AM
Unknown Object (File)
Fri, Nov 1, 4:46 PM
Unknown Object (File)
Fri, Nov 1, 5:36 AM
Unknown Object (File)
Tue, Oct 29, 10:47 AM
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
Lint Not Applicable
Unit
Tests Not Applicable