From a8f081c078c56217ba2f3aad156f6320aabeb7ae Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 12 Mar 2026 13:20:15 -0400 Subject: [PATCH] fix: buildRecipients to handle if local uids are passed in followers --- src/activitypub/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/index.js b/src/activitypub/index.js index 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 actors targets.forEach((address) => { - if (address.startsWith(nconf.get('url'))) { + if (utils.isNumber(address) || address.startsWith(nconf.get('url'))) { targets.delete(address); } });