mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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