mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 12:35:50 +02:00
fix: guests visiting /world should see all remote topics
This commit is contained in:
@@ -16,7 +16,7 @@ controller.list = async function (req, res) {
|
|||||||
const stop = start + topicsPerPage - 1;
|
const stop = start + topicsPerPage - 1;
|
||||||
|
|
||||||
const sets = ['cid:-1:tids', `uid:${req.uid}:inbox`];
|
const sets = ['cid:-1:tids', `uid:${req.uid}:inbox`];
|
||||||
if (req.params.filter === 'all') {
|
if (req.params.filter === 'all' || !req.uid) {
|
||||||
sets.pop();
|
sets.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user