1
0
Fork 0
forked from mirror/pixelfed

Update AP helpers

This commit is contained in:
Daniel Supernault 2022-12-17 22:58:53 -07:00
parent 9c2421c5fd
commit 08d64ede16
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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) {