From a8409fbd492308d00b340c0d6dde19480f821ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 23 May 2019 20:15:08 -0400 Subject: [PATCH] fix: #7636, use reputation threshold for post queue --- src/posts/queue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts/queue.js b/src/posts/queue.js index 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,