[PLUGINS][Favourite][RepeatNote][DeleteNote][WebMonetization] Make use of 'activitypub_handler' more readable
This commit is contained in:
@@ -200,6 +200,7 @@ class DeleteNote extends NoteHandlerPlugin
|
||||
{
|
||||
if ($type_activity->get('type') !== 'Delete'
|
||||
|| !($type_object instanceof Note)) {
|
||||
// Don't care about AbstractObject because we only want to delete objects we already have
|
||||
return Event::next;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user