Skip to content

Node.js based forum software built for the modern web

call callback on follow/unfollow

Barış Soner Uşaklı02889f2e705d
diff --git a/src/socket.io/user.js b/src/socket.io/user.js
index 5597a03b3a..0f5e87c84e 100644
--- a/src/socket.io/user.js
+++ b/src/socket.io/user.js
@@ -182,6 +182,7 @@ function toggleFollow(method, uid, theiruid, callback) {
fromUid: uid,
toUid: theiruid
});
+ callback();
});
}