Function: toFederatedMentions() ​
ts
function toFederatedMentions(content, guidFor): string;Defined in: mentions.ts:43
Rewrite <@user:N> and <@role:N> for sending to another instance. Unknown ids become plain text.
Parameters ​
| Parameter | Type |
|---|---|
content | string |
guidFor | (type, id) => string | null | undefined |
Returns ​
string