Hotfixes
This commit is contained in:
parent
4fec64088e
commit
c57597d3b5
@ -706,11 +706,13 @@ angular.module('myApp.controllers', [])
|
||||
AppMessagesManager.getHistory($scope.curDialog.inputPeer, minID, limit, backLimit).then(function (historyResult) {
|
||||
if (curJump != jump || curLessJump != lessJump) return;
|
||||
|
||||
angular.forEach(historyResult.history, function (id) {
|
||||
var i, id;
|
||||
for (i = historyResult.history.length - 1; i >= 0; i--) {
|
||||
id = historyResult.history[i];
|
||||
if (id > minID) {
|
||||
$scope.history.push(AppMessagesManager.wrapForHistory(id));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (historyResult.history.length) {
|
||||
minID = historyResult.history.length >= backLimit
|
||||
|
@ -24,7 +24,7 @@
|
||||
</h3>
|
||||
<div class="modal_section_body changelog_version_changes">
|
||||
<ul class="list-unstyled changelog_version_changes_list">
|
||||
<li>Added messages search</li>
|
||||
<li>Added search of messages</li>
|
||||
<li>Improved performance of chats with lots of unread messages</li>
|
||||
<li>Bugfixes</li>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user