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