]> git.mxchange.org Git - friendica.git/commitdiff
Remove Feed contacts from profile contact list
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 29 Jan 2023 05:07:05 +0000 (00:07 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 29 Jan 2023 05:07:20 +0000 (00:07 -0500)
- These contact don't have a public pendant and therefore shouldn't be shown to visitors
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1406191980

src/Module/Profile/Contacts.php

index bf5d2f24244a066ad46d5a9ef08e0e7ea3d2fc47..dde138d8cc93c9a60a956d4c2628da4363533f74 100644 (file)
@@ -92,7 +92,7 @@ class Contacts extends Module\BaseProfile
                        'archive' => false,
                        'failed'  => false,
                        'self'    => false,
-                       'network' => [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS, Protocol::FEED]
+                       'network' => [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS]
                ];
 
                switch ($type) {