Fixed processing of recent self forwards from share box for non-premium.

This commit is contained in:
23rd
2025-10-22 11:28:22 +03:00
committed by John Preston
parent 6eb9695e1e
commit f750d94b2d
+2 -1
View File
@@ -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()) {