user.isFollowing socket call

v1.18.x
psychobunny 9 years ago
parent a40a5ed15d
commit ead377e0ca

@ -116,6 +116,14 @@ SocketUser.reset.commit = function(socket, data, callback) {
});
};
SocketUser.isFollowing = function(socket, data, callback) {
if (!socket.uid || !data.uid) {
return;
}
user.isFollowing(socket.uid, data.uid, callback);
};
SocketUser.follow = function(socket, data, callback) {
if (!socket.uid || !data) {
return;

Loading…
Cancel
Save