From e795dad6161e2cd30a69f0e6eca7deb429e937ee Mon Sep 17 00:00:00 2001 From: doliv Debian fisso <61095881+doliv8@users.noreply.github.com> Date: Thu, 9 Jan 2025 19:31:45 +0100 Subject: [PATCH] Fixed crash sending files in restricted permissions Group Chat --- Telegram/SourceFiles/data/data_chat_participant_status.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Telegram/SourceFiles/data/data_chat_participant_status.cpp b/Telegram/SourceFiles/data/data_chat_participant_status.cpp index e7a69f38c..c184bff5c 100644 --- a/Telegram/SourceFiles/data/data_chat_participant_status.cpp +++ b/Telegram/SourceFiles/data/data_chat_participant_status.cpp @@ -411,8 +411,6 @@ void ShowSendErrorToast( std::shared_ptr show, not_null peer, Data::SendError error) { - Expects(peer->isChannel()); - if (!error.boostsToLift) { show->showToast(*error); return;