даже не знаю как это комментировать, наверно потому-что какой-то девушке залили в пизду бензин и родился камаз

This commit is contained in:
veselcraft 2022-10-17 23:24:10 +03:00
parent 890d320d43
commit 98260e8d0a
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -59,6 +59,8 @@ final class Wall extends VKAPIRequestHandler
} }
} }
$groups[] = $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId();
$repost[] = [ $repost[] = [
"id" => $attachment->getVirtualId(), "id" => $attachment->getVirtualId(),
"owner_id" => $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId(), "owner_id" => $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId(),
@ -202,6 +204,8 @@ final class Wall extends VKAPIRequestHandler
} }
} }
$groups[] = $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId();
$repost[] = [ $repost[] = [
"id" => $attachment->getVirtualId(), "id" => $attachment->getVirtualId(),
"owner_id" => $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId(), "owner_id" => $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId(),