mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
correctly reconnect to pusher after inactivity
This commit is contained in:
@@ -112,6 +112,7 @@ angular.module('habitrpg')
|
||||
|
||||
var awaitActivity = function() {
|
||||
$(document).off('mousemove keydown mousedown touchstart', awaitActivity);
|
||||
connectToPusher(partyId);
|
||||
// Limit of 1 connected tab is disabled for now
|
||||
// if (!localStorage.getItem(tabIdKey) || localStorage.getItem(tabIdKey) === tabId) {
|
||||
// connectToPusher(partyId);
|
||||
|
||||
Reference in New Issue
Block a user