Skip to content

Node.js based forum software built for the modern web

fix: regression introduced by 903d03891941902ddac80b380552530e1853c306

Julian Lamd451adafc4ed
diff --git a/src/activitypub/contexts.js b/src/activitypub/contexts.js
index fb53c686e3..9e308c61e9 100644
--- a/src/activitypub/contexts.js
+++ b/src/activitypub/contexts.js
@@ -80,7 +80,7 @@ Contexts.getItems = async (uid, id, options) => {
}
// Early breakout on empty collection
- if (!chain.size) {
+ if (!next && !chain.size) {
return [];
}