mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	notif fix
This commit is contained in:
		@@ -933,6 +933,7 @@ var bcrypt = require('bcrypt'),
 | 
			
		||||
								notifications.get(nid, uid, function(notif_data) {
 | 
			
		||||
									// If the notification could not be found, silently drop it
 | 
			
		||||
									if (notif_data) {
 | 
			
		||||
										notif_data.readClass = !notif_data.read ? 'label-warning' : '';
 | 
			
		||||
										unread.push(notif_data);
 | 
			
		||||
									} else {
 | 
			
		||||
										db.sortedSetRemove('uid:' + uid + ':notifications:unread', nid);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user