Added missing field

This commit is contained in:
Michael 2020-05-06 15:37:04 +00:00
parent 62a4638ea8
commit b9ee46824f

View file

@ -264,7 +264,7 @@ class Diaspora
return $contacts; return $contacts;
} }
$items = Item::select(['author-id', 'author-link', 'parent-author-link'], $items = Item::select(['author-id', 'author-link', 'parent-author-link', 'parent-guid'],
['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]]); ['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]]);
while ($item = DBA::fetch($items)) { while ($item = DBA::fetch($items)) {
$contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'], $contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'],