2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Add hide / unpin all button in pinned section.

This commit is contained in:
John Preston
2020-10-22 10:53:56 +03:00
parent 61d335469f
commit 994e3d8da7
12 changed files with 254 additions and 26 deletions

View File

@@ -444,5 +444,6 @@ std::optional<QString> RestrictionError(
void SetTopPinnedMessageId(not_null<PeerData*> peer, MsgId messageId);
[[nodiscard]] MsgId ResolveTopPinnedId(not_null<PeerData*> peer);
[[nodiscard]] std::optional<int> ResolvePinnedCount(not_null<PeerData*> peer);
} // namespace Data