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:
@@ -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."));
|
||||
}
|
||||
|
Reference in New Issue
Block a user