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

Show applied boosts in message bubbles.

This commit is contained in:
John Preston
2024-02-02 17:08:56 +04:00
parent e32cbf468b
commit 33207b78d5
11 changed files with 108 additions and 44 deletions

View File

@@ -1118,6 +1118,8 @@ void ApplyChannelUpdate(
if (stickersChanged) {
session->changes().peerUpdated(channel, UpdateFlag::StickersSet);
}
channel->mgInfo->boostsApplied = update.vboosts_applied().value_or_empty();
}
channel->setThemeEmoji(qs(update.vtheme_emoticon().value_or_empty()));
channel->setTranslationDisabled(update.is_translations_disabled());