mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
pusher: remove duplicate code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user