[ActivityPub] Fix DELETE

This commit is contained in:
Diogo Cordeiro
2020-08-29 11:12:02 +01:00
committed by Diogo Peralta Cordeiro
parent af0366ed58
commit 751b23f6fe
11 changed files with 261 additions and 90 deletions

View File

@@ -204,7 +204,7 @@ class ActivityPubQueueHandler extends QueueHandler
*
* @param $user
* @param $notice
* @return boolean hook flag
* @return bool hook flag
* @throws HTTP_Request2_Exception
* @throws InvalidUrlException
* @author Diogo Cordeiro <diogo@fc.up.pt>
@@ -218,10 +218,6 @@ class ActivityPubQueueHandler extends QueueHandler
return true;
}
$other = Activitypub_profile::from_profile_collection(
$notice->getAttentionProfiles()
);
if ($notice->reply_to) {
try {
$parent_notice = $notice->getParent();