Fix build.

This commit is contained in:
John Preston 2024-02-17 22:04:46 +04:00
parent ebf4e88a10
commit df5454a0b0

View file

@ -1363,11 +1363,6 @@ void GiveawayInfoBox(
? start->quantity
: (results->winnersCount + results->unclaimedCount);
const auto months = start ? start->months : results->months;
const auto group = results
? results->channel->isMegagroup()
: !start->channels.empty()
? start->channels.front()->isMegagroup()
: false;
const auto group = results
? results->channel->isMegagroup()
: (!start->channels.empty()