]> git.mxchange.org Git - friendica.git/commitdiff
Spaces and newlines
authorMichael <heluecht@pirati.ca>
Wed, 15 Apr 2020 11:39:00 +0000 (11:39 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 15 Apr 2020 11:39:00 +0000 (11:39 +0000)
src/Protocol/Diaspora.php
src/Protocol/Feed.php

index a6369a2bfa43c5ca67a4d4d8fa9f7d5894f13776..5aa3463181622e68707c75f621c2918e483584c3 100644 (file)
@@ -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;
index 0ce4144387027e22b5a5f8b39c3ade123fcad413..817134840901b1354bb5a2fc161741d747fd5997 100644 (file)
@@ -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);