X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FDFRN.php;h=1bb7bf3ff14dd2938339ed92c3f0d3bfb8e5aed2;hb=88f21c5892f26cfa18c59c7cba22005b1c3bc55c;hp=8bf299be680195f8c7e31b66dbb503eae7f66ce1;hpb=259b99e6e94cd6714e65bb128af9cbe776fd3325;p=friendica.git diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 8bf299be68..1bb7bf3ff1 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -1,6 +1,6 @@ addSharedPost($item)); + $body = Post\Media::addHTMLAttachmentToBody($item['uri-id'], $body); if ($item['private'] == Item::PRIVATE) { $body = Item::fixPrivatePhotos($body, $owner['uid'], $item, $cid); @@ -1040,7 +1041,7 @@ class DFRN } if (!empty($contact['gsid'])) { - GServer::setReachableById($contact['gsid']); + GServer::setReachableById($contact['gsid'], Protocol::DFRN); } if (!empty($res->message)) { @@ -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);