fix: guests visiting /world should see all remote topics

This commit is contained in:
Julian Lam
2024-02-14 10:44:13 -05:00
parent 6a11c89b90
commit 19d017b942

View File

@@ -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();
}