mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Don't allow reordering of the archive.
This commit is contained in:
@@ -94,7 +94,7 @@ void Folder::registerOne(not_null<History*> history) {
|
||||
}
|
||||
}
|
||||
if (_chatsList.size() == 1) {
|
||||
updateChatListExistence();
|
||||
updateChatListSortPosition();
|
||||
}
|
||||
owner().notifyFolderUpdated(this, FolderUpdateFlag::List);
|
||||
}
|
||||
@@ -426,8 +426,8 @@ bool Folder::toImportant() const {
|
||||
return !_importantChatsList.empty();
|
||||
}
|
||||
|
||||
bool Folder::useProxyPromotion() const {
|
||||
return false;
|
||||
int Folder::fixedOnTopIndex() const {
|
||||
return kArchiveFixOnTopIndex;
|
||||
}
|
||||
|
||||
bool Folder::shouldBeInChatList() const {
|
||||
|
Reference in New Issue
Block a user