]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Merge remote-tracking branch 'upstream/develop' into failed
[friendica.git] / src / Protocol / Diaspora.php
index 0dfcf6f77eacaf8b112ec2a0ee08c1fdc0c8bfed..bd99b361e345b8a767e7597ddbf34d6cb871b315 100644 (file)
@@ -2622,7 +2622,7 @@ class Diaspora
                                $item["body"] = self::replacePeopleGuid($item["body"], $item["author-link"]);
 
                                // Add OEmbed and other information to the body
-                               $item["body"] = PageInfo::appendToBody($item["body"], false, true);
+                               $item["body"] = PageInfo::searchAndAppendToBody($item["body"], false, true);
 
                                return $item;
                        } else {
@@ -2986,7 +2986,7 @@ class Diaspora
 
                        // Add OEmbed and other information to the body
                        if (!self::isHubzilla($contact["url"])) {
-                               $body = PageInfo::appendToBody($body, false, true);
+                               $body = PageInfo::searchAndAppendToBody($body, false, true);
                        }
                }