mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-21 20:02:03 +01:00
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user