mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
refactor: add method from mentions into core
turn remote url into local profile urls if they are found in remoteUrl:uid
This commit is contained in:
@@ -114,6 +114,7 @@ Mocks.post = async (objects) => {
|
||||
edited = Number.isNaN(edited.valueOf()) ? undefined : edited;
|
||||
|
||||
content = sanitize(content, sanitizeConfig);
|
||||
content = await activitypub.helpers.remoteAnchorToLocalProfile(content);
|
||||
|
||||
const payload = {
|
||||
uid,
|
||||
|
||||
Reference in New Issue
Block a user