mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
watch unwatch
update on toggle, moved isFollowing to api return and template
This commit is contained in:
@@ -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]]'));
|
||||
|
||||
Reference in New Issue
Block a user