X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FDiaspora.php;h=d276814f5d3e21a17055d14bfd8198c5be77ec58;hb=dbd6d10536ddc476307e82381b3b7950c38aa03d;hp=57f3502cc9ebeb32e962d4b9183fa5fd6815c09f;hpb=4a90e6b1f04b3cc9d20a096b268db6e67c6f1e52;p=friendica.git diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 57f3502cc9..d276814f5d 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -1,6 +1,6 @@ t("Attachments:")."\n"; + $body .= "\n[hr]\n"; foreach ($attachments as $attachment) { $body .= "[" . $attachment['description'] . "](" . $attachment['url'] . ")\n"; } @@ -4100,6 +4100,9 @@ class Diaspora $item['private'] = Item::PUBLIC; } + // Don't trigger the addons + $item['api_source'] = false; + return Item::insert($item, true); } }