mirror of
https://github.com/friendica/friendica
synced 2025-04-28 11:04:22 +02:00
Fetch replies to fetched posts
This commit is contained in:
parent
a824572311
commit
2eadad49db
10 changed files with 217 additions and 70 deletions
|
@ -198,6 +198,10 @@ class Item
|
|||
$fields['external-id'] = ItemURI::getIdByURI($fields['extid']);
|
||||
}
|
||||
|
||||
if (!empty($fields['replies'])) {
|
||||
$fields['replies-id'] = ItemURI::getIdByURI($fields['replies']);
|
||||
}
|
||||
|
||||
if (!empty($fields['verb'])) {
|
||||
$fields['vid'] = Verb::getID($fields['verb']);
|
||||
}
|
||||
|
@ -1165,6 +1169,10 @@ class Item
|
|||
$item['external-id'] = ItemURI::getIdByURI($item['extid']);
|
||||
}
|
||||
|
||||
if (!empty($item['replies'])) {
|
||||
$item['replies-id'] = ItemURI::getIdByURI($item['replies']);
|
||||
}
|
||||
|
||||
if ($item['verb'] == Activity::ANNOUNCE) {
|
||||
self::setOwnerforResharedItem($item);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue