mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-28 16:29:53 +00:00
Improve multi-pinned message bar.
This commit is contained in:
@@ -543,7 +543,7 @@ void PeerData::addPinnedSlice(
|
||||
return;
|
||||
}
|
||||
ensurePinnedMessagesCreated();
|
||||
_pinnedMessages->add(std::move(ids), noSkipRange, std::nullopt);
|
||||
_pinnedMessages->add(std::move(ids), noSkipRange, count);
|
||||
session().changes().peerUpdated(this, UpdateFlag::PinnedMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user