From: Michael Date: Wed, 15 Apr 2020 11:39:00 +0000 (+0000) Subject: Spaces and newlines X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb593226bf95731ecd3a0e69e353ea4cbffb1ce4;p=friendica.git Spaces and newlines --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index a6369a2bfa..5aa3463181 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -1958,7 +1958,6 @@ class Diaspora $datarray["changed"] = $datarray["created"] = $datarray["edited"] = $created_at; $datarray["plink"] = self::plink($author, $guid, $parent_item['guid']); - $body = Markdown::toBBCode($text); $datarray["body"] = self::replacePeopleGuid($body, $person["url"]); @@ -2708,7 +2707,6 @@ class Diaspora $datarray['guid'] = $parent['guid'] . '-' . $guid; $datarray['uri'] = self::getUriFromGuid($author, $datarray['guid']); - $datarray['parent-uri'] = $parent['uri']; $datarray['verb'] = $datarray['body'] = Activity::ANNOUNCE; diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 0ce4144387..8171348409 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -523,7 +523,7 @@ class Feed { // Set the delivery priority for "remote self" to "medium" $notify = PRIORITY_MEDIUM; } - + $id = Item::insert($item, false, $notify); Logger::info("Feed for contact " . $contact["url"] . " stored under id " . $id);