2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support pinned messages bar in topics.

This commit is contained in:
John Preston
2022-10-28 09:19:27 +04:00
parent da1e784803
commit 8dc27339b4
40 changed files with 811 additions and 206 deletions

View File

@@ -994,7 +994,7 @@ void ApplyChannelUpdate(
}
}
if (const auto pinned = update.vpinned_msg_id()) {
SetTopPinnedMessageId(channel, MsgId(0), pinned->v);
SetTopPinnedMessageId(channel, pinned->v);
}
if (channel->isMegagroup()) {
auto commands = ranges::views::all(