From 8c56fddc552d4fd1b556351c3933bae49d875ef6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 9 Jan 2025 18:02:47 +0400 Subject: [PATCH] Fix crash in 5.10.2. --- Telegram/SourceFiles/data/data_chat_participant_status.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/data/data_chat_participant_status.cpp b/Telegram/SourceFiles/data/data_chat_participant_status.cpp index 1b46621de..e7a69f38c 100644 --- a/Telegram/SourceFiles/data/data_chat_participant_status.cpp +++ b/Telegram/SourceFiles/data/data_chat_participant_status.cpp @@ -261,6 +261,7 @@ SendError RestrictionError( } } if (all + && channel && channel->boostsUnrestrict() && !channel->unrestrictedByBoosts()) { return SendError({