1
0
Эх сурвалжийг харах

Update Inbox, add user domain blocks to Follow handler

Daniel Supernault 1 жил өмнө
parent
commit
c89dc45e8d

+ 4 - 0
app/Util/ActivityPub/Inbox.php

@@ -514,6 +514,10 @@ class Inbox
             return;
         }
 
+        if(AccountService::blocksDomain($target->id, $actor->domain) == true) {
+            return;
+        }
+
         if(
             Follower::whereProfileId($actor->id)
                 ->whereFollowingId($target->id)