]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Diaspora/Fetch.php
Don't use the creation date when transmitting to Diaspora
[friendica.git] / src / Module / Diaspora / Fetch.php
index 467d64566b769048d1f5a106866afcfa7c49754d..0efe641ba6828310a3494213bd25b5f2407d5504 100644 (file)
@@ -17,7 +17,7 @@ use Friendica\Util\Strings;
  */
 class Fetch extends BaseModule
 {
-       public static function rawContent()
+       public static function rawContent(array $parameters = [])
        {
                $app = self::getApp();
 
@@ -31,7 +31,7 @@ class Fetch extends BaseModule
 
                // Fetch the item
                $fields = [
-                       'uid', 'title', 'body', 'guid', 'contact-id', 'private', 'created', 'app', 'location', 'coord', 'network',
+                       'uid', 'title', 'body', 'guid', 'contact-id', 'private', 'created', 'received', 'app', 'location', 'coord', 'network',
                        'event-id', 'resource-id', 'author-link', 'author-avatar', 'author-name', 'plink', 'owner-link', 'attach'
                ];
                $condition = ['wall' => true, 'private' => false, 'guid' => $guid, 'network' => [Protocol::DFRN, Protocol::DIASPORA]];