VKAPI: لقد سئمت من الخروج بتعليقات للالتزامات

This commit is contained in:
veselcraft 2022-10-24 19:05:41 +03:00
parent 7c516a8089
commit a63833c9fa
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -204,7 +204,10 @@ final class Wall extends VKAPIRequestHandler
}
}
$groups[] = $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() : $attachment->getOwner()->getId();
if ($attachment->isPostedOnBehalfOfGroup())
$groups[] = $attachment->getOwner()->getId();
else
$profiles[] = $attachment->getOwner()->getId();
$repost[] = [
"id" => $attachment->getVirtualId(),