mirror of
https://github.com/friendica/friendica
synced 2024-11-20 13:03:41 +00:00
Only spool mirrored posts
This commit is contained in:
parent
e9fecf1541
commit
775075c5db
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class Delayed
|
||||||
Logger::notice('Post stored', ['id' => $id, 'uid' => $item['uid'], 'cid' => $item['contact-id']]);
|
Logger::notice('Post stored', ['id' => $id, 'uid' => $item['uid'], 'cid' => $item['contact-id']]);
|
||||||
|
|
||||||
// It should always contain an URI since this is needed to create a delayed post entry
|
// It should always contain an URI since this is needed to create a delayed post entry
|
||||||
if (!empty($item['uri'])) {
|
if (!empty($item['uri']) && self::exists($item['uri'], $item['uid'])) {
|
||||||
$result = self::delete($item['uri'], $item['uid']);
|
$result = self::delete($item['uri'], $item['uid']);
|
||||||
Logger::notice('Delayed post entry deleted', ['result' => $result, 'uri' => $item['uri']]);
|
Logger::notice('Delayed post entry deleted', ['result' => $result, 'uri' => $item['uri']]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue