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

Update API scheme to layer 149.

This commit is contained in:
John Preston
2022-11-08 14:30:26 +04:00
parent a94dd22caa
commit 983b6af0b4
5 changed files with 19 additions and 24 deletions

View File

@@ -1921,9 +1921,6 @@ void Session::setChatPinned(
const auto list = (filterId
? chatsFilters().chatsList(filterId)
: chatsListFor(key.entry()))->pinned();
if (const auto topic = key.topic()) {
topic->forum()->unpinTopic();
}
list->setPinned(key, pinned);
notifyPinnedDialogsOrderUpdated();
}