mirror of
https://github.com/friendica/friendica
synced 2025-03-15 23:08:26 +00:00
Improved handling of archive poszs
This commit is contained in:
parent
f3106097af
commit
aad362fee3
1 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,10 @@ class Processor
|
|||
'source' => json_encode($data),
|
||||
];
|
||||
|
||||
if ((time() - strtotime($item['created'])) > 600) {
|
||||
$item['received'] = $item['created'];
|
||||
}
|
||||
|
||||
if ($this->postExists($item['uri'], [$uid])) {
|
||||
$this->logger->info('Post already exists for user', ['uri' => $item['uri'], 'uid' => $uid]);
|
||||
return [];
|
||||
|
|
Loading…
Add table
Reference in a new issue