mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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,
|
std::shared_ptr<ChatHelpers::Show> show,
|
||||||
not_null<PeerData*> peer,
|
not_null<PeerData*> peer,
|
||||||
Data::SendError error) {
|
Data::SendError error) {
|
||||||
Expects(peer->isChannel());
|
|
||||||
|
|
||||||
if (!error.boostsToLift) {
|
if (!error.boostsToLift) {
|
||||||
show->showToast(*error);
|
show->showToast(*error);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue