mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 18:22:21 +00:00
pusher: remove duplicate code
This commit is contained in:
parent
d4dc455926
commit
459a41a5ac
1 changed files with 0 additions and 2 deletions
|
|
@ -132,8 +132,6 @@ angular.module('habitrpg')
|
|||
partyId = user && $rootScope.user.party && $rootScope.user.party._id;
|
||||
if (!partyId) return;
|
||||
|
||||
connectToPusher(partyId);
|
||||
|
||||
// See if another tab is already connected to Pusher
|
||||
if (!localStorage.getItem(tabIdKey)) {
|
||||
connectToPusher(partyId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue