From f750d94b2ddfbecd7f6d40c69990b1fcec179bae Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 22 Oct 2025 11:28:22 +0300 Subject: [PATCH] Fixed processing of recent self forwards from share box for non-premium. --- Telegram/SourceFiles/boxes/share_box.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp index b49552363b..45472238d6 100644 --- a/Telegram/SourceFiles/boxes/share_box.cpp +++ b/Telegram/SourceFiles/boxes/share_box.cpp @@ -1734,7 +1734,8 @@ ShareBox::SubmitCallback ShareBox::DefaultForwardCallback( result, msgIds); const auto showRecentForwardsToSelf = result.size() == 1 - && result.front()->peer()->isSelf(); + && result.front()->peer()->isSelf() + && history->owner().session().premium(); const auto requestType = Data::Histories::RequestType::Send; for (const auto thread : result) { if (!comment.text.isEmpty()) {