mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Nicer empty monoforum for non-admins.
This commit is contained in:
@@ -947,11 +947,6 @@ void ChannelData::growSlowmodeLastMessage(TimeId when) {
|
||||
}
|
||||
|
||||
int ChannelData::starsPerMessage() const {
|
||||
if (const auto broadcast = monoforumBroadcast()) {
|
||||
if (!amMonoforumAdmin()) {
|
||||
return broadcast->starsPerMessage();
|
||||
}
|
||||
}
|
||||
return _starsPerMessage;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user