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

Support pinned saved sublists.

This commit is contained in:
John Preston
2023-12-31 08:49:55 +04:00
parent d2565dc944
commit 9392550c01
11 changed files with 301 additions and 82 deletions

View File

@@ -349,7 +349,7 @@ public:
const QVector<MTPDialog> &dialogs,
std::optional<int> count = std::nullopt);
[[nodiscard]] bool pinnedCanPin(not_null<Thread*> thread) const;
[[nodiscard]] bool pinnedCanPin(not_null<Dialogs::Entry*> entry) const;
[[nodiscard]] bool pinnedCanPin(
FilterId filterId,
not_null<History*> history) const;