HomePhabricator
Diffusion Comm ba594f2217d9

[lib] Return EntityText from getMessageTitle

Description

[lib] Return EntityText from getMessageTitle

Summary:
We need to resolve this EntityText at callsites, so we'll return it directly.

Initially the callsites will call entityTextToRawString same as before, but in following diffs I'll refactor it.

Depends on D6561

Test Plan: Tested in combination with following diffs, where the message title is actually used. Also Flow

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Feb 2 2023, 12:50 PM
Reviewer
atul
Differential Revision
D6562: [lib] Return EntityText from getMessageTitle
Parents
rCOMM462d81234c37: [lib] Add memoization to useMessagePreview
Branches
Unknown
Tags
Unknown