mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update Inbox, add user domain blocks to Like handler
This commit is contained in:
parent
3fbf8f159e
commit
e32e50da7b
1 changed files with 4 additions and 0 deletions
|
@ -775,6 +775,10 @@ class Inbox
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(AccountService::blocksDomain($status->profile_id, $profile->domain) == true) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$blocks = UserFilterService::blocks($status->profile_id);
|
$blocks = UserFilterService::blocks($status->profile_id);
|
||||||
if($blocks && in_array($profile->id, $blocks)) {
|
if($blocks && in_array($profile->id, $blocks)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue