forked from mirror/pixelfed
Update AP helpers
This commit is contained in:
parent
9c2421c5fd
commit
08d64ede16
1 changed files with 5 additions and 0 deletions
|
@ -400,6 +400,11 @@ class Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
$profile = self::profileFirstOrNew($attributedTo);
|
$profile = self::profileFirstOrNew($attributedTo);
|
||||||
|
|
||||||
|
if(!$profile) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(isset($activity['object']['inReplyTo']) && !empty($activity['object']['inReplyTo']) || $replyTo == true) {
|
if(isset($activity['object']['inReplyTo']) && !empty($activity['object']['inReplyTo']) || $replyTo == true) {
|
||||||
$reply_to = self::statusFirstOrFetch(self::pluckval($activity['object']['inReplyTo']), false);
|
$reply_to = self::statusFirstOrFetch(self::pluckval($activity['object']['inReplyTo']), false);
|
||||||
if($reply_to) {
|
if($reply_to) {
|
||||||
|
|
Loading…
Reference in a new issue