mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	integrated Tinycon lib and actually fixed notification counts... heh.
closed #610
This commit is contained in:
		| @@ -1009,7 +1009,7 @@ var bcrypt = require('bcrypt'), | ||||
| 				}); | ||||
| 		}, | ||||
| 		getUnreadCount: function(uid, callback) { | ||||
| 			RDB.zcount('uid:' + uid + ':notifications:unread', 0, 10, callback); | ||||
| 			RDB.zcount('uid:' + uid + ':notifications:unread', -Infinity, Infinity, callback); | ||||
| 		}, | ||||
| 		getUnreadByUniqueId: function(uid, uniqueId, callback) { | ||||
| 			RDB.zrange('uid:' + uid + ':notifications:unread', 0, -1, function(err, nids) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user