]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
move forgotten rotator from template
[friendica.git] / src / Protocol / DFRN.php
index 0b005570b230bc263e35318ae2fea405d0f69499..1bb7bf3ff14dd2938339ed92c3f0d3bfb8e5aed2 100644 (file)
@@ -774,6 +774,7 @@ class DFRN
                }
 
                $body = Post\Media::addAttachmentsToBody($item['uri-id'], DI::contentItem()->addSharedPost($item));
+               $body = Post\Media::addHTMLAttachmentToBody($item['uri-id'], $body);
 
                if ($item['private'] == Item::PRIVATE) {
                        $body = Item::fixPrivatePhotos($body, $owner['uid'], $item, $cid);
@@ -2079,6 +2080,7 @@ class DFRN
                        // This is my contact on another system, but it's really me.
                        // Turn this into a wall post.
                        $notify = Item::isRemoteSelf($importer, $item);
+                       $item['wall'] = (bool)$notify;
 
                        $posted_id = Item::insert($item, $notify);