mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Fixed crash sending files in restricted permissions Group Chat
This commit is contained in:
parent
a1aa315187
commit
e795dad616
1 changed files with 0 additions and 2 deletions
|
@ -411,8 +411,6 @@ void ShowSendErrorToast(
|
|||
std::shared_ptr<ChatHelpers::Show> show,
|
||||
not_null<PeerData*> peer,
|
||||
Data::SendError error) {
|
||||
Expects(peer->isChannel());
|
||||
|
||||
if (!error.boostsToLift) {
|
||||
show->showToast(*error);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue