2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Updated for archive support.

This commit is contained in:
23rd
2019-05-01 22:10:09 +03:00
committed by John Preston
parent 3b7123d159
commit 9c60d2be80
3 changed files with 39 additions and 10 deletions

View File

@@ -1430,7 +1430,7 @@ void Session::setPinnedFromDialog(const Dialogs::Key &key, bool pinned) {
void Session::applyPinnedChats(
Data::Folder *folder,
const QVector<MTPDialogPeer> &list) {
notifyPinnedDialogsOrderUpdated()
notifyPinnedDialogsOrderUpdated();
for (const auto &peer : list) {
peer.match([&](const MTPDdialogPeer &data) {
const auto history = this->history(peerFromMTP(data.vpeer));
@@ -1490,7 +1490,7 @@ void Session::applyDialog(
void Session::applyDialog(
Data::Folder *requestFolder,
const MTPDdialogFolder &data) {
notifyPinnedDialogsOrderUpdated()
notifyPinnedDialogsOrderUpdated();
if (requestFolder) {
LOG(("API Error: requestFolder != nullptr for dialogFolder."));
}