Node.js based forum software built for the modern web
fix: #7636, use reputation threshold for post queue
Barış Soner Uşaklıa8409fbd4923
diff --git a/src/posts/queue.js b/src/posts/queue.jsindex 1a3a0dadd8..6a6f6d989b 100644--- a/src/posts/queue.js+++ b/src/posts/queue.js@@ -21,7 +21,7 @@ module.exports = function (Posts) {user.getUserFields(uid, ['uid', 'reputation', 'postcount'], next);},function (userData, next) {- const shouldQueue = meta.config.postQueue && (!userData.uid || userData.reputation < 0 || userData.postcount <= 0);+ const shouldQueue = meta.config.postQueue && (!userData.uid || userData.reputation < meta.config.newbiePostDelayThreshold || userData.postcount <= 0);plugins.fireHook('filter:post.shouldQueue', {shouldQueue: shouldQueue,uid: uid,