sforkowany z mirror/friendica
Only spool mirrored posts
rodzic
e9fecf1541
commit
775075c5db
|
@ -92,7 +92,7 @@ class Delayed
|
|||
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
|
||||
if (!empty($item['uri'])) {
|
||||
if (!empty($item['uri']) && self::exists($item['uri'], $item['uid'])) {
|
||||
$result = self::delete($item['uri'], $item['uid']);
|
||||
Logger::notice('Delayed post entry deleted', ['result' => $result, 'uri' => $item['uri']]);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue