Fix reply via API / fix missing variable

This commit is contained in:
Michael 2023-01-25 10:16:24 +00:00
parent c27fdc7167
commit b46f18bdf9
2 changed files with 14 additions and 11 deletions

View file

@ -210,6 +210,8 @@ class Status extends BaseFactory
// We can always safely add attached activities. Real quotes are added to the body via "addSharedPost".
if (empty($item['quote-uri-id'])) {
$quote = self::createQuote($item, $uid);
} else {
$quote = [];
}
$shared = $this->contentItem->getSharedPost($item, ['uri-id']);