From 58f31ac0932954cec75392ceca696b8bb181ded9 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sun, 8 Nov 2015 09:09:12 -0500 Subject: WSS fix for desktop Former-commit-id: e3b6177a6e64eda2a61a70e856c3531a6a252d64 --- www/js/EventServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/EventServer.js') diff --git a/www/js/EventServer.js b/www/js/EventServer.js index 10274e9b..12935392 100644 --- a/www/js/EventServer.js +++ b/www/js/EventServer.js @@ -342,7 +342,7 @@ angular.module('zmApp.controllers') var plat = $ionicPlatform.is('ios') ? 'ios' : 'android'; - if ($rootScope.platformOS == 'unknown') + if ($rootScope.platformOS == 'desktop') { ZMDataModel.zmLog ("Desktop instance, not setting up push. Websockets only, I hope"); return; -- cgit v1.2.3