mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08: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