2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Create dialog rows only with known folders.

This commit is contained in:
John Preston
2019-04-18 13:00:38 +04:00
parent 854870683b
commit f3ed7a674a
7 changed files with 50 additions and 27 deletions

View File

@@ -1435,7 +1435,9 @@ void Session::addSavedPeersAfter(const QDateTime &date) {
saved.remove(lastDate, lastPeer);
const auto history = session().data().history(lastPeer);
history->setChatListTimeId(ServerTimeFromParsed(lastDate));
if (!history->chatListTimeId()) {
history->setChatListTimeId(ServerTimeFromParsed(lastDate));
}
}
}