mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
correctly check for Pusher being enabled
This commit is contained in:
@@ -4,7 +4,7 @@ angular.module('habitrpg')
|
||||
.factory('Pusher', ['$rootScope', 'STORAGE_SETTINGS_ID', 'Groups', 'Shared',
|
||||
function($rootScope, STORAGE_SETTINGS_ID, Groups, Shared) {
|
||||
var settings = JSON.parse(localStorage.getItem(STORAGE_SETTINGS_ID));
|
||||
var IS_PUSHER_ENABLED = true;
|
||||
var IS_PUSHER_ENABLED = window.env['PUSHER:ENABLED'] === 'true';
|
||||
|
||||
var partyId;
|
||||
var onActivityEvent;
|
||||
|
||||
Reference in New Issue
Block a user