summaryrefslogtreecommitdiffstats
path: root/collections
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-04 01:40:29 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-04 01:44:10 +0200
commit521e661dcb38b5a58b70593f3b805be57bd6746f (patch)
tree9a38fbefdb491ab3564b8fba96acfe1776939b2d /collections
parent40fafd4b142c541172cd23dabd8e7304b2a4035b (diff)
downloadwekan-521e661dcb38b5a58b70593f3b805be57bd6746f.tar.gz
wekan-521e661dcb38b5a58b70593f3b805be57bd6746f.tar.bz2
wekan-521e661dcb38b5a58b70593f3b805be57bd6746f.zip
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.
Diffstat (limited to 'collections')
-rw-r--r--collections/users.js7
1 files changed, 0 insertions, 7 deletions
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') };
- };
-}