Page MenuHomePhabricator

[lib] Make sure we set isViewer in useExistingThreadInfoFinder
ClosedPublic

Authored by ashoat on Mon, Sep 30, 10:06 PM.
Tags
None
Referenced Files
F2860732: D13547.diff
Tue, Oct 1, 7:32 PM
F2860173: D13547.id44777.diff
Tue, Oct 1, 4:24 PM
F2859631: D13547.id.diff
Tue, Oct 1, 2:22 PM
F2859594: D13547.diff
Tue, Oct 1, 2:02 PM
F2859169: D13547.id44728.diff
Tue, Oct 1, 12:49 PM
F2859112: D13547.diff
Tue, Oct 1, 12:32 PM
F2859020: D13547.id.diff
Tue, Oct 1, 12:16 PM
F2853628: D13547.id44728.diff
Mon, Sep 30, 10:29 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