HomePhabricator
Diffusion Comm 6dd336abfbb6

[native] Move useTextMessageMarkdownRules to message-list-types.js

Description

[native] Move useTextMessageMarkdownRules to message-list-types.js

Summary: I want to use this function in another place, so we can generate and cache the Markdown AST upstream of InnerTextMessage in order to determine whether the Markdown includes a "pressable" (link or spoiler for now, but @mention in the future).

Test Plan: Flow

Reviewers: rohan, atul, ginsu, michal

Reviewed By: rohan

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Nov 24 2022, 7:15 AM
Reviewer
rohan
Differential Revision
D5753: [native] Move useTextMessageMarkdownRules to message-list-types.js
Parents
rCOMMa057cb9c8a30: Revert "Temporary changes for staff release"
Branches
Unknown
Tags
Unknown