Browse Source

Fixed forceOnline

Closes #991
master
Igor Zhukov 9 years ago
parent
commit
e8d7590929
  1. 2
      app/js/services.js

2
app/js/services.js

@ -246,7 +246,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -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',

Loading…
Cancel
Save