mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow pinning chats in folders when 100 added.
This commit is contained in:
@@ -322,8 +322,11 @@ public:
|
||||
const QVector<MTPDialog> &dialogs,
|
||||
std::optional<int> count = std::nullopt);
|
||||
|
||||
int pinnedChatsCount(Data::Folder *folder, FilterId filterId) const;
|
||||
int pinnedChatsLimit(Data::Folder *folder, FilterId filterId) const;
|
||||
int pinnedCanPin(
|
||||
Data::Folder *folder,
|
||||
FilterId filterId,
|
||||
not_null<History*> history) const;
|
||||
int pinnedChatsLimit(Data::Folder *folder) const;
|
||||
const std::vector<Dialogs::Key> &pinnedChatsOrder(
|
||||
Data::Folder *folder,
|
||||
FilterId filterId) const;
|
||||
|
Reference in New Issue
Block a user