From fffca0e4258ee181378bef5b34bfa6175146812a Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 25 Sep 2015 20:26:44 -0400 Subject: [PATCH] fix topic follow --- src/socket.io/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/topics.js b/src/socket.io/topics.js index e7c38bf086..5714dbae51 100644 --- a/src/socket.io/topics.js +++ b/src/socket.io/topics.js @@ -159,7 +159,7 @@ function followCommand(method, socket, tid, callback) { return callback(new Error('[[error:not-logged-in]]')); } - topics[method](tid, socket.uid, callback); + method(tid, socket.uid, callback); } SocketTopics.search = function(socket, data, callback) {