HomePhabricator
Diffusion Comm 2df5594da538

[lib][native] Only say "this thread" in EntityText when it's the current thread

Description

[lib][native] Only say "this thread" in EntityText when it's the current thread

Summary:
This will allow us to say "a channel" instead of "this channel" when referring to a child thread in CreateSubThread.robotext, but it requires that we pipe through the threadID to whatever function is "rendering" the EntityText to a string.

Depends on D6516

Test Plan: I git grep robotextToRawString to make sure I am including threadID in all the places I should be, and tested CreateSubThread.robotext in a subsequent diff where it renders a ThreadEntity for a subchannel (not the current thread)

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D6517

Details

Provenance
ashoatAuthored on Feb 1 2023, 5:32 PM
Reviewer
atul
Differential Revision
D6517: [lib][native] Only say "this thread" in EntityText when it's the current thread
Parents
rCOMMd9dfc704a933: [lib] Convert entry robotexts to use EntityText
Branches
Unknown
Tags
Unknown