fix: #8073, configurable necroThreshold

This commit is contained in:
Baris Usakli
2019-12-03 12:11:39 -05:00
parent 160e0ab1f5
commit 4d66978338
5 changed files with 13 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ topicsController.get = async function getTopic(req, res, callback) {
topicData['downvote:disabled'] = meta.config['downvote:disabled'];
topicData['feeds:disableRSS'] = meta.config['feeds:disableRSS'];
topicData.bookmarkThreshold = meta.config.bookmarkThreshold;
topicData.necroThreshold = meta.config.necroThreshold;
topicData.postEditDuration = meta.config.postEditDuration;
topicData.postDeleteDuration = meta.config.postDeleteDuration;
topicData.scrollToMyPost = settings.scrollToMyPost;