Only spool mirrored posts

2022.09-rc
Michael 2020-12-02 05:07:44 +00:00
rodzic e9fecf1541
commit 775075c5db
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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']]);
}