]> git.mxchange.org Git - friendica.git/commitdiff
Avoid dropping of incoming DFRN messages
authorMichael <heluecht@pirati.ca>
Thu, 10 Dec 2020 07:22:49 +0000 (07:22 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 10 Dec 2020 07:22:49 +0000 (07:22 +0000)
src/Protocol/DFRN.php

index 35bbffede52f70e2627ea3a158fdfd3dc9afe161..71ae052eb649dc0289c534296e2410ff2dc1b88a 100644 (file)
@@ -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) {