Fixed broken update sync
This commit is contained in:
parent
9eabf910d9
commit
617b138deb
@ -3329,7 +3329,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
updatesState.syncPending = false
|
updatesState.syncPending = false
|
||||||
}
|
}
|
||||||
|
|
||||||
MtpApiManager.invokeApi('updates.getDifference', {pts: updatesState.pts, date: updatesState.date, qts: -1}).then(function (differenceResult) {
|
MtpApiManager.invokeApi('updates.getDifference', {pts: updatesState.pts, date: updatesState.date, qts: -1}, {
|
||||||
|
timeout: 0x7fffffff
|
||||||
|
}).then(function (differenceResult) {
|
||||||
if (differenceResult._ == 'updates.differenceEmpty') {
|
if (differenceResult._ == 'updates.differenceEmpty') {
|
||||||
console.log(dT(), 'apply empty diff', differenceResult.seq)
|
console.log(dT(), 'apply empty diff', differenceResult.seq)
|
||||||
updatesState.date = differenceResult.date
|
updatesState.date = differenceResult.date
|
||||||
|
Loading…
x
Reference in New Issue
Block a user