Check for existing post
This commit is contained in:
parent
4fbd0a46b5
commit
c302b7c347
|
@ -614,7 +614,8 @@ class Feed
|
||||||
$notify = PRIORITY_MEDIUM;
|
$notify = PRIORITY_MEDIUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Post\Delayed::exists($item["uri"])) {
|
$condition = ['uid' => $item['uid'], 'uri' => $item['uri'], 'network' => Protocol::FEED];
|
||||||
|
if (!Item::exists($condition) && !Post\Delayed::exists($item["uri"])) {
|
||||||
$postings[] = ['item' => $item, 'notify' => $notify,
|
$postings[] = ['item' => $item, 'notify' => $notify,
|
||||||
'taglist' => $taglist, 'attachments' => $attachments];
|
'taglist' => $taglist, 'attachments' => $attachments];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue