wekan/client/config/presence.js
Maxime Quandalle 521e661dcb 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.
2015-09-04 01:44:10 +02:00

7 lines
113 B
JavaScript

Presence.configure({
state() {
return {
currentBoardId: Session.get('currentBoard'),
};
},
});