Check for existing post

This commit is contained in:
Michael 2020-12-02 00:20:07 +00:00
parent 4fbd0a46b5
commit c302b7c347

View file

@ -614,7 +614,8 @@ class Feed
$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,
'taglist' => $taglist, 'attachments' => $attachments];
} else {