mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
closes #6015
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = function (Posts) {
|
||||
}, next);
|
||||
},
|
||||
function (next) {
|
||||
user.setUserField(data.uid, 'lastposttime', Date.now(), next);
|
||||
user.setUserField(data.uid, 'lastqueuetime', Date.now(), next);
|
||||
},
|
||||
function (next) {
|
||||
notifications.create({
|
||||
@@ -95,8 +95,8 @@ module.exports = function (Posts) {
|
||||
privileges.categories.can('topics:reply', cid, data.uid, next);
|
||||
}
|
||||
},
|
||||
isReadyToPost: function (next) {
|
||||
user.isReadyToPost(data.uid, cid, next);
|
||||
isReadyToQueue: function (next) {
|
||||
user.isReadyToQueue(data.uid, cid, next);
|
||||
},
|
||||
}, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user