From 4c5e9f206ebd24cd7188b897d9c01a08ef081ef1 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 21 Jul 2022 11:47:23 +0000 Subject: [PATCH] Remove ignored undo --- src/Protocol/ActivityPub/Receiver.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index cd583132e6..5eae464e05 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -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