From: Michael Date: Thu, 10 Dec 2020 07:22:49 +0000 (+0000) Subject: Avoid dropping of incoming DFRN messages X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=965374596ff3e65aa81bc93aa3cf5103769e4500;p=friendica.git Avoid dropping of incoming DFRN messages --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 35bbffede5..71ae052eb6 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -2709,8 +2709,10 @@ class DFRN foreach ($deletions as $deletion) { self::processDeletion($xpath, $deletion, $importer); } - Logger::notice('Deletions had been processed'); - return 200; + if (count($deletions) > 0) { + Logger::notice('Deletions had been processed'); + return 200; + } } if (!$sort_by_date) {