mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
feat: plumb audience into _activitypub when mocking posts
This commit is contained in:
@@ -353,3 +353,6 @@ Helpers.remoteAnchorToLocalProfile = async (content) => {
|
||||
|
||||
return content;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line max-len
|
||||
Helpers.makeSet = (object, properties) => new Set(properties.reduce((memo, property) => memo.concat(Array.isArray(object[property]) ? object[property] : [object[property]]), []));
|
||||
|
||||
Reference in New Issue
Block a user