Node.js based forum software built for the modern web
fix: buildRecipients to handle if local uids are passed in followers
Julian Lama8f081c078c5
diff --git a/src/activitypub/index.js b/src/activitypub/index.jsindex 047edf9702..37750664fe 100644--- a/src/activitypub/index.js+++ b/src/activitypub/index.js@@ -504,7 +504,7 @@ ActivityPub.buildRecipients = async function (object, options) {// Remove local uris, public addresses, and any ids that aren't asserted actorstargets.forEach((address) => {- if (address.startsWith(nconf.get('url'))) {+ if (utils.isNumber(address) || address.startsWith(nconf.get('url'))) {targets.delete(address);}});