From e8d75909293dd80cd313484ccaca542548d5c0aa Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 3 Dec 2015 00:35:17 +0300 Subject: [PATCH] Fixed forceOnline Closes #991 --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 45484d36..cbdcda25 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -246,7 +246,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) var wasStatus; if (user.status._ != 'userStatusOffline') { delete user.status.wasStatus; - wasStatus != angular.copy(user.status); + wasStatus = angular.copy(user.status); } user.status = { _: 'userStatusOnline',