mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Update API scheme on layer 142: Premium stickers.
This commit is contained in:
@@ -6680,9 +6680,10 @@ bool HistoryWidget::sendExistingDocument(
|
||||
Ui::MakeInformBox(*error),
|
||||
Ui::LayerOption::KeepOther);
|
||||
return false;
|
||||
} else if (!_peer || !_peer->canWrite()) {
|
||||
return false;
|
||||
} else if (showSlowmodeError()) {
|
||||
} else if (!_peer
|
||||
|| !_peer->canWrite()
|
||||
|| showSlowmodeError()
|
||||
|| ShowSendPremiumError(controller(), document)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user