diff --git a/VKAPI/Handlers/Wall.php b/VKAPI/Handlers/Wall.php index b6082c61..527fb9a5 100644 --- a/VKAPI/Handlers/Wall.php +++ b/VKAPI/Handlers/Wall.php @@ -144,6 +144,13 @@ final class Wall extends VKAPIRequestHandler "attachments" => $repostAttachments, "post_source" => $post_source, ]; + + if ($attachment->getVirtualId() > 0) + $profiles[] = $attachment->getVirtualId(); + else + $groups[] = $attachment->getVirtualId(); + if($post->isSigned()) + $profiles[] = $attachment->getOwner()->getId(); } } @@ -339,6 +346,13 @@ final class Wall extends VKAPIRequestHandler "attachments" => $repostAttachments, "post_source" => $post_source, ]; + + if ($attachment->getVirtualId() > 0) + $profiles[] = $attachment->getVirtualId(); + else + $groups[] = $attachment->getVirtualId(); + if($post->isSigned()) + $profiles[] = $attachment->getOwner()->getId(); } }