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. --- client/config/presence.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 client/config/presence.js (limited to 'client/config') diff --git a/client/config/presence.js b/client/config/presence.js new file mode 100644 index 00000000..39b94e4d --- /dev/null +++ b/client/config/presence.js @@ -0,0 +1,7 @@ +Presence.configure({ + state() { + return { + currentBoardId: Session.get('currentBoard'), + }; + }, +}); -- cgit v1.2.3-1-g7c22