mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Don't use MTP* for ChatAdminRight / ChatRestriction.
This commit is contained in:
@@ -610,7 +610,7 @@ bool MainWidget::sendPaths(PeerId peerId) {
|
||||
return false;
|
||||
} else if (const auto error = Data::RestrictionError(
|
||||
peer,
|
||||
ChatRestriction::f_send_media)) {
|
||||
ChatRestriction::SendMedia)) {
|
||||
Ui::show(Box<InformBox>(*error));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user