Skip to content

Node.js based forum software built for the modern web

fix: proper handling of actors.qualify response

Julian Lamf2e0ba2165fa
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;
}