X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FDiaspora.php;h=d276814f5d3e21a17055d14bfd8198c5be77ec58;hb=b065318366301f57a0a7aaf33f1429e73dfc991c;hp=db0b8435145cc1549503004c18fac5e653496a16;hpb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;p=friendica.git diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index db0b843514..d276814f5d 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -3411,7 +3411,7 @@ class Diaspora $attachments = Post\Media::getByURIId($item['uri-id'], [Post\Media::DOCUMENT, Post\Media::TORRENT, Post\Media::UNKNOWN]); if (!empty($attachments)) { - $body .= "\n".DI::l10n()->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); } }