Fix editing price per message.

This commit is contained in:
John Preston
2025-07-02 12:36:07 +04:00
parent 33671e7737
commit fd24f7045e
6 changed files with 29 additions and 7 deletions
@@ -1179,7 +1179,7 @@ void ShowEditPeerPermissionsBox(
if (available) {
Ui::AddSkip(inner);
const auto starsPerMessage = peer->isChannel()
? peer->asChannel()->starsPerMessage()
? peer->asChannel()->commonStarsPerMessage()
: 0;
charging = inner->add(object_ptr<Ui::SettingsButton>(
inner,