Merge pull request #3956 from pixelfed/staging

Update AP helpers
This commit is contained in:
daniel 2022-12-17 22:59:33 -07:00 committed by GitHub
commit 70673fc0dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -400,6 +400,11 @@ class Helpers {
}
$profile = self::profileFirstOrNew($attributedTo);
if(!$profile) {
return;
}
if(isset($activity['object']['inReplyTo']) && !empty($activity['object']['inReplyTo']) || $replyTo == true) {
$reply_to = self::statusFirstOrFetch(self::pluckval($activity['object']['inReplyTo']), false);
if($reply_to) {