Fixed readHistory
This commit is contained in:
parent
7754a4159c
commit
a12bcaa4b9
@ -1239,16 +1239,14 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
}
|
}
|
||||||
|
|
||||||
function processAffectedHistory (inputPeer, affectedHistory, method) {
|
function processAffectedHistory (inputPeer, affectedHistory, method) {
|
||||||
if (!ApiUpdatesManager.processUpdateMessage({
|
ApiUpdatesManager.processUpdateMessage({
|
||||||
_: 'updateShort',
|
_: 'updateShort',
|
||||||
update: {
|
update: {
|
||||||
_: 'updatePts',
|
_: 'updatePts',
|
||||||
pts: affectedHistory.pts,
|
pts: affectedHistory.pts,
|
||||||
pts_count: affectedHistory.pts_count
|
pts_count: affectedHistory.pts_count
|
||||||
}
|
}
|
||||||
})) {
|
});
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (!affectedHistory.offset) {
|
if (!affectedHistory.offset) {
|
||||||
return $q.when();
|
return $q.when();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user