Adding gravity to avoid notices
This commit is contained in:
parent
1852ea98cf
commit
6bb8b63da0
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Fetch extends BaseModule
|
|||
// Fetch the item
|
||||
$fields = [
|
||||
'uid', 'title', 'body', 'guid', 'contact-id', 'private', 'created', 'received', 'app', 'location', 'coord', 'network',
|
||||
'event-id', 'resource-id', 'author-link', 'author-avatar', 'author-name', 'plink', 'owner-link', 'uri-id'
|
||||
'gravity', 'event-id', 'resource-id', 'author-link', 'author-avatar', 'author-name', 'plink', 'owner-link', 'uri-id'
|
||||
];
|
||||
$condition = ['origin' => true, 'private' => [Item::PUBLIC, Item::UNLISTED], 'guid' => $guid,
|
||||
'gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT], 'network' => [Protocol::DFRN, Protocol::DIASPORA]];
|
||||
|
|
Loading…
Reference in a new issue