]> git.mxchange.org Git - friendica-addons.git/blobdiff - diaspora/diaspora.php
EN-US translation added for nsfw
[friendica-addons.git] / diaspora / diaspora.php
index b486c0956a76cc6ec26685d4316dd73ed7083946..49a9cfc471bca2e57bbd5e9366958fd1b855f8ab 100644 (file)
@@ -338,7 +338,7 @@ function diaspora_send(&$a,&$b) {
                 } while ($oldbody != $body);
 
                // convert to markdown
-               $body = bb2diaspora($body, false, true);
+               $body = bb2diaspora($body);
 
                // Adding the title
                if(strlen($title))
@@ -367,7 +367,7 @@ function diaspora_send(&$a,&$b) {
                                $a->contact = $r[0]["id"];
 
                        $s = serialize(['url' => $url, 'item' => $b['id'], 'post' => $body]);
-                       
+
                        Queue::add($a->contact, NETWORK_DIASPORA2, $s);
                        notice(L10n::t('Diaspora post failed. Queued for retry.').EOL);
                }