]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #13771 from Raroun/fix_for_issue_#13710_frio]_Long_handles_prevent...
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 27 Dec 2023 00:17:15 +0000 (19:17 -0500)
committerGitHub <noreply@github.com>
Wed, 27 Dec 2023 00:17:15 +0000 (19:17 -0500)
Fix for issue #13710 - [frio] long handles prevent a clean display of common contacts

src/Protocol/ActivityPub.php

index 09464a13c29c1d26ea7c9ac61ce130a0554c8299..7396f29211ebc01586ae77ee2376ef398d8c98f9 100644 (file)
@@ -315,7 +315,9 @@ class ActivityPub
                        }
                }
 
-               // @todo Look for user blocked domains
+               if (DI::userGServer()->isIgnoredByUser($uid, $apcontact['gsid'])) {
+                       return false;
+               }
 
                Logger::debug('Server is an accepted requester', ['uid' => $uid, 'id' => $apcontact['gsid'], 'url' => $apcontact['baseurl'], 'signer' => $signer, 'called_by' => $called_by]);