Update Inbox, add user domain blocks to Like handler

pull/4834/head
Daniel Supernault 2023-12-18 22:47:03 -07:00
rodzic 3fbf8f159e
commit e32e50da7b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -775,6 +775,10 @@ class Inbox
return;
}
if(AccountService::blocksDomain($status->profile_id, $profile->domain) == true) {
return;
}
$blocks = UserFilterService::blocks($status->profile_id);
if($blocks && in_array($profile->id, $blocks)) {
return;