2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Boost community features list.

This commit is contained in:
John Preston
2024-02-07 12:20:59 +04:00
parent ea12c2f62c
commit 680171226c
40 changed files with 401 additions and 59 deletions

View File

@@ -630,6 +630,7 @@ void SessionNavigation::resolveBoostState(not_null<ChannelData*> channel) {
uiShow()->show(Box(Ui::BoostBox, Ui::BoostBoxData{
.name = channel->name(),
.boost = ParseBoostCounters(result),
.features = LookupBoostFeatures(channel),
.allowMulti = (BoostsForGift(_session) > 0),
.group = channel->isMegagroup(),
}, submit));