]> git.mxchange.org Git - friendica.git/blobdiff - include/diaspora.php
Diaspora: Reshares of reshares sometimes had problems
[friendica.git] / include / diaspora.php
index 3313314ca17667299e51a51c7f97fd7bd03f3ed0..16bce93e11de08a4b57c95ba7c0a871a781b613a 100644 (file)
@@ -2331,7 +2331,7 @@ class Diaspora {
                        // If it is a reshared post from another network then reformat to avoid display problems with two share elements
                        if (self::is_reshare($r[0]["body"], true)) {
                                $r = array();
-                       } elseif (self::is_reshare($r[0]["body"], false)) {
+                       } elseif (self::is_reshare($r[0]["body"], false) || strstr($r[0]["body"], "[share")) {
                                $r[0]["body"] = diaspora2bb(bb2diaspora($r[0]["body"]));
 
                                $r[0]["body"] = self::replace_people_guid($r[0]["body"], $r[0]["author-link"]);