Avoid dropping of incoming DFRN messages

This commit is contained in:
Michael 2020-12-10 07:22:49 +00:00
parent 34056c2e46
commit 965374596f

View file

@ -2709,9 +2709,11 @@ class DFRN
foreach ($deletions as $deletion) { foreach ($deletions as $deletion) {
self::processDeletion($xpath, $deletion, $importer); self::processDeletion($xpath, $deletion, $importer);
} }
if (count($deletions) > 0) {
Logger::notice('Deletions had been processed'); Logger::notice('Deletions had been processed');
return 200; return 200;
} }
}
if (!$sort_by_date) { if (!$sort_by_date) {
$entries = $xpath->query("/atom:feed/atom:entry"); $entries = $xpath->query("/atom:feed/atom:entry");