From 521e661dcb38b5a58b70593f3b805be57bd6746f Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Fri, 4 Sep 2015 01:40:29 +0200 Subject: Change our presence package tmeasday:presence was doing unnecessary ping calls to the server every 5 seconds instead of using the status of the DDP connection (this could save a fair amount of traffic in case of important server load). I guess this change also fixes #221, but since no issue reproduction was provided, it's difficult to tell. --- collections/users.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'collections') diff --git a/collections/users.js b/collections/users.js index b30b7805..276c9f9e 100644 --- a/collections/users.js +++ b/collections/users.js @@ -145,10 +145,3 @@ if (Meteor.isServer) { }); }); } - -// Presence indicator -if (Meteor.isClient) { - Presence.state = () => { - return { currentBoardId: Session.get('currentBoard') }; - }; -} -- cgit v1.2.3-1-g7c22