watch unwatch

update on toggle, moved isFollowing to api return and template
This commit is contained in:
barisusakli
2014-09-25 16:45:56 -04:00
parent b27af65f18
commit 5f55cc947c
5 changed files with 25 additions and 18 deletions

View File

@@ -395,10 +395,6 @@ SocketTopics.moveAll = function(socket, data, callback) {
});
};
SocketTopics.followCheck = function(socket, tid, callback) {
topics.isFollowing(tid, socket.uid, callback);
};
SocketTopics.follow = function(socket, tid, callback) {
if(!socket.uid) {
return callback(new Error('[[error:not-logged-in]]'));