mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	privilege cleanup
This commit is contained in:
		| @@ -49,7 +49,7 @@ module.exports = function(Topics) { | ||||
| 					}); | ||||
|  | ||||
| 					async.filter(newtids, function(tid, next) { | ||||
| 						privileges.topics.canRead(tid, uid, function(err, canRead) { | ||||
| 						privileges.topics.can('read', tid, uid, function(err, canRead) { | ||||
| 							next(!err && canRead); | ||||
| 						}); | ||||
| 					}, function(newtids) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user