Nicer empty monoforum for non-admins.

This commit is contained in:
John Preston
2025-06-04 15:44:45 +04:00
parent 8f7195d3b2
commit a330a3f2eb
6 changed files with 54 additions and 20 deletions
@@ -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;
}