From f2e0ba2165fad8ca459739b7eb144fb4e8dd99bc Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 26 Mar 2025 12:00:55 -0400 Subject: [PATCH] fix: proper handling of actors.qualify response --- src/activitypub/actors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/actors.js b/src/activitypub/actors.js index d2b08befcd..e86efb0fbc 100644 --- a/src/activitypub/actors.js +++ b/src/activitypub/actors.js @@ -110,7 +110,7 @@ Actors.assert = async (ids, options = {}) => { */ ids = await Actors.qualify(ids, options); - if (!ids) { + if (!ids || !ids.length) { return ids; }