fix first connection to pusher

This commit is contained in:
Matteo Pagliazzi
2016-09-07 16:46:32 +02:00
parent 0baff2dfd9
commit 40c9c05514

View File

@@ -152,6 +152,8 @@ angular.module('habitrpg')
partyId = user && $rootScope.user.party && $rootScope.user.party._id;
if (!partyId) return;
connectToPusher(partyId);
// DISABLED FOR NOW
// See if another tab is already connected to Pusher
// if (!localStorage.getItem(tabIdKey)) {