mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	check keys
This commit is contained in:
		| @@ -527,6 +527,9 @@ var async = require('async'), | ||||
| 	}; | ||||
|  | ||||
| 	Posts.getPostIndices = function(posts, uid, callback) { | ||||
| 		if (!Array.isArray(posts) || !posts.length) { | ||||
| 			return callback(null, []); | ||||
| 		} | ||||
| 		user.getSettings(uid, function(err, settings) { | ||||
| 			if (err) { | ||||
| 				return callback(err); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user