]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Continued:
[friendica.git] / src / Protocol / Feed.php
index fdfe9be7d5e836b57621b65cb6a6f693124ac48c..4438c31fde2143623eb7e3760ff31b45eafe78af 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -618,7 +618,7 @@ class Feed
                                        $item['plink'],
                                        false,
                                        $fetch_further_information == LocalRelationship::FFI_BOTH,
-                                       $contact['ffi_keyword_denylist'] ?? ''
+                                       $contact['ffi_keyword_blacklist'] ?? ''
                                );
 
                                if (!empty($data)) {
@@ -638,7 +638,7 @@ class Feed
                                        // We always strip the title since it will be added in the page information
                                        $item['title'] = '';
                                        $item['body'] = $item['body'] . "\n" . PageInfo::getFooterFromData($data, false);
-                                       $taglist = $fetch_further_information == LocalRelationship::FFI_BOTH ? PageInfo::getTagsFromUrl($item['plink'], $preview, $contact['ffi_keyword_denylist'] ?? '') : [];
+                                       $taglist = $contact['fetch_further_information'] == 2 ? PageInfo::getTagsFromUrl($item['plink'], $preview, $contact['ffi_keyword_blacklist'] ?? '') : [];
                                        $item['object-type'] = Activity\ObjectType::BOOKMARK;
                                        $attachments = [];
 
@@ -672,7 +672,7 @@ class Feed
 
                                if ($fetch_further_information == LocalRelationship::FFI_KEYWORD) {
                                        if (empty($taglist)) {
-                                               $taglist = PageInfo::getTagsFromUrl($item['plink'], $preview, $contact['ffi_keyword_denylist'] ?? '');
+                                               $taglist = PageInfo::getTagsFromUrl($item['plink'], $preview, $contact['ffi_keyword_blacklist'] ?? '');
                                        }
                                        $item['body'] .= "\n" . self::tagToString($taglist);
                                } else {