Update AP helpers

pull/1560/head
Daniel Supernault 2019-07-26 23:13:29 -06:00
rodzic 3599a47261
commit 9a8151a3a8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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;
});

Wyświetl plik

@ -143,7 +143,7 @@ class Inbox
return;
}
if(Helpers::userInAudience($this->profile, $this->payload) == false) {
if($actor->followers()->count() == 0) {
return;
}