Node.js based forum software built for the modern web
feat: 8502, don't change topics sitemaps on every reply
Barış Soner Uşaklıe045436c0715
diff --git a/src/sitemap.js b/src/sitemap.jsindex 42adfb6870..f506a96a36 100644--- a/src/sitemap.js+++ b/src/sitemap.js@@ -105,7 +105,7 @@ sitemap.getTopicPage = async function (page) {}const topicUrls = [];- let tids = await db.getSortedSetRevRange('topics:recent', min, max);+ let tids = await db.getSortedSetRange('topics:tid', min, max);tids = await privileges.topics.filterTids('topics:read', tids, 0);const topicData = await topics.getTopicsFields(tids, ['tid', 'title', 'slug', 'lastposttime']);