[ActivityPub][INBOX][Delete] Support Delete Actor object being a Tombstone
This commit is contained in:
parent
ce4ceaf8c7
commit
f3df3762f1
|
@ -276,6 +276,9 @@ class Activitypub_inbox_handler
|
|||
// We don't know the type of the deleted object :(
|
||||
// Nor if it's gone or not.
|
||||
try {
|
||||
if (is_array($object)) {
|
||||
$object = $object['id'];
|
||||
}
|
||||
$aprofile = Activitypub_profile::fromUri($object, false);
|
||||
$res = Activitypub_explorer::get_remote_user_activity($object);
|
||||
Activitypub_profile::update_profile($aprofile, $res);
|
||||
|
|
Loading…
Reference in New Issue
Block a user