Remove ignored undo
This commit is contained in:
parent
99f7270e18
commit
4c5e9f206e
1 changed files with 1 additions and 0 deletions
|
@ -774,6 +774,7 @@ class Receiver
|
||||||
} elseif (in_array($object_data['object_type'], array_merge(self::ACTIVITY_TYPES, ['as:Announce', 'as:Create', ''])) &&
|
} elseif (in_array($object_data['object_type'], array_merge(self::ACTIVITY_TYPES, ['as:Announce', 'as:Create', ''])) &&
|
||||||
empty($object_data['object_object_type'])) {
|
empty($object_data['object_object_type'])) {
|
||||||
// We cannot detect the target object. So we can ignore it.
|
// We cannot detect the target object. So we can ignore it.
|
||||||
|
Queue::remove($object_data);
|
||||||
} elseif (in_array($object_data['object_type'], ['as:Create']) &&
|
} elseif (in_array($object_data['object_type'], ['as:Create']) &&
|
||||||
in_array($object_data['object_object_type'], ['pt:CacheFile'])) {
|
in_array($object_data['object_object_type'], ['pt:CacheFile'])) {
|
||||||
// Unhandled Peertube activity
|
// Unhandled Peertube activity
|
||||||
|
|
Loading…
Reference in a new issue