Skip to content

Node.js based forum software built for the modern web

fix: guests visiting /world should see all remote topics

Julian Lam19d017b94205
diff --git a/src/controllers/activitypub/topics.js b/src/controllers/activitypub/topics.js
index 1844b260b8..2f31290213 100644
--- a/src/controllers/activitypub/topics.js
+++ b/src/controllers/activitypub/topics.js
@@ -16,7 +16,7 @@ controller.list = async function (req, res) {
const stop = start + topicsPerPage - 1;
const sets = ['cid:-1:tids', `uid:${req.uid}:inbox`];
- if (req.params.filter === 'all') {
+ if (req.params.filter === 'all' || !req.uid) {
sets.pop();
}