Browse Source

Fixed tgme sync

master
Igor Zhukov 10 years ago
parent
commit
d9f295a607
  1. 3
      app/js/services.js

3
app/js/services.js

@ -4139,7 +4139,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
} }
Storage.get('tgme_sync').then(function (curValue) { Storage.get('tgme_sync').then(function (curValue) {
var ts = tsNow(true); var ts = tsNow(true);
if (curValue && if (canRedirect &&
curValue &&
curValue.canRedirect == canRedirect && curValue.canRedirect == canRedirect &&
curValue.ts + 86400 > ts) { curValue.ts + 86400 > ts) {
return false; return false;

Loading…
Cancel
Save