mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	isFollowing: send false if user is anon
This commit is contained in:
		| @@ -118,7 +118,7 @@ SocketUser.reset.commit = function(socket, data, callback) { | |||||||
|  |  | ||||||
| SocketUser.isFollowing = function(socket, data, callback) { | SocketUser.isFollowing = function(socket, data, callback) { | ||||||
| 	if (!socket.uid || !data.uid) { | 	if (!socket.uid || !data.uid) { | ||||||
| 		return; | 		return callback(null, false); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	user.isFollowing(socket.uid, data.uid, callback); | 	user.isFollowing(socket.uid, data.uid, callback); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user