mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow boosts / giveaways in groups.
This commit is contained in:
@@ -1046,10 +1046,9 @@ void Filler::addViewStatistics() {
|
||||
}
|
||||
}, &st::menuIconStats);
|
||||
}
|
||||
if (!channel->isMegagroup()
|
||||
&& (canGetStats
|
||||
|| channel->amCreator()
|
||||
|| channel->canPostStories())) {
|
||||
if (canGetStats
|
||||
|| channel->amCreator()
|
||||
|| channel->canPostStories()) {
|
||||
_addAction(tr::lng_boosts_title(tr::now), [=] {
|
||||
if (const auto strong = weak.get()) {
|
||||
controller->showSection(Info::Boosts::Make(peer));
|
||||
|
Reference in New Issue
Block a user