mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-22 11:38:24 +00:00
correctly check for Pusher being enabled
This commit is contained in:
parent
ff4a3adf7e
commit
3efd900a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue