mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed crash sending files in restricted permissions Group Chat
This commit is contained in:
committed by
John Preston
parent
a1aa315187
commit
e795dad616
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user