Skip to content

Function: fromFederatedMentions() ​

ts
function fromFederatedMentions(content, idFor): string;

Defined in: mentions.ts:66

Turn a message from another instance back into local mention tokens. Unknown GUIDs become plain text.

Parameters ​

ParameterType
contentstring
idFor(guid) => number | null | undefined

Returns ​

string

Released under the GNU Affero General Public License v3.0.