mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fix loading more saved sublists.
This commit is contained in:
parent
a3b91da66c
commit
5933535c9b
1 changed files with 4 additions and 2 deletions
|
@ -233,8 +233,10 @@ void SavedMessages::apply(
|
|||
_chatsList.setLoaded();
|
||||
} else if (result.type() == mtpc_messages_savedDialogs) {
|
||||
_chatsList.setLoaded();
|
||||
} else if (offsetDate < _offsetDate
|
||||
|| (offsetDate == _offsetDate && offsetId == _offsetId && offsetPeer == _offsetPeer)) {
|
||||
} else if ((_offsetDate > 0 && offsetDate > _offsetDate)
|
||||
|| (offsetDate == _offsetDate
|
||||
&& offsetId == _offsetId
|
||||
&& offsetPeer == _offsetPeer)) {
|
||||
LOG(("API Error: Bad order in messages.savedDialogs."));
|
||||
_chatsList.setLoaded();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue