Browse Source

Fixed readHistory

TitanNano-voice_recorder
Igor Zhukov 10 years ago
parent
commit
a12bcaa4b9
  1. 6
      app/js/services.js

6
app/js/services.js

@ -1239,16 +1239,14 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
}
function processAffectedHistory (inputPeer, affectedHistory, method) {
if (!ApiUpdatesManager.processUpdateMessage({
ApiUpdatesManager.processUpdateMessage({
_: 'updateShort',
update: {
_: 'updatePts',
pts: affectedHistory.pts,
pts_count: affectedHistory.pts_count
}
})) {
return false;
}
});
if (!affectedHistory.offset) {
return $q.when();
}

Loading…
Cancel
Save