Update apiwrap.cpp

This commit is contained in:
Grigory 2025-04-10 03:25:05 +05:00
parent 5a9dd44779
commit a8dd11ff43
No known key found for this signature in database
GPG key ID: 98E89A67FE38E7FF

View file

@ -3420,7 +3420,7 @@ void ApiWrap::forwardMessages(
} }
auto forwardFrom = draft.items.front()->history()->peer; auto forwardFrom = draft.items.front()->history()->peer;
if (forwardFrom->allowsAyuForwarding()) { if (!forwardFrom->allowsAyuForwarding()) {
// should copy content and send as a message // should copy content and send as a message
return; return;
} }