mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update AP helpers
This commit is contained in:
parent
3599a47261
commit
9a8151a3a8
2 changed files with 4 additions and 2 deletions
|
@ -328,7 +328,9 @@ class Helpers {
|
|||
$status->scope = $scope;
|
||||
$status->visibility = $scope;
|
||||
$status->save();
|
||||
self::importNoteAttachment($res, $status);
|
||||
if($reply_to == null) {
|
||||
self::importNoteAttachment($res, $status);
|
||||
}
|
||||
return $status;
|
||||
});
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ class Inbox
|
|||
return;
|
||||
}
|
||||
|
||||
if(Helpers::userInAudience($this->profile, $this->payload) == false) {
|
||||
if($actor->followers()->count() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue