]> git.mxchange.org Git - friendica.git/commitdiff
Remove ignored undo
authorMichael <heluecht@pirati.ca>
Thu, 21 Jul 2022 11:47:23 +0000 (11:47 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 21 Jul 2022 11:47:23 +0000 (11:47 +0000)
src/Protocol/ActivityPub/Receiver.php

index cd583132e6b2a2170a65741b3cfd3dfd12ac64db..5eae464e0542b5bfb6e18e59b8dd00991fade6af 100644 (file)
@@ -774,6 +774,7 @@ class Receiver
                                } elseif (in_array($object_data['object_type'], array_merge(self::ACTIVITY_TYPES, ['as:Announce', 'as:Create', ''])) &&
                                        empty($object_data['object_object_type'])) {
                                        // We cannot detect the target object. So we can ignore it.
+                                       Queue::remove($object_data);
                                } elseif (in_array($object_data['object_type'], ['as:Create']) &&
                                        in_array($object_data['object_object_type'], ['pt:CacheFile'])) {
                                        // Unhandled Peertube activity