]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
Just some more fixed notice
[friendica.git] / mod / subthread.php
index 0b6f4ecaaaad33d0289752603d9aacf61dc15fd5..3cd089d63e7df0bb8cc8c032223f834852330c59 100644 (file)
@@ -118,14 +118,13 @@ EOT;
 
        $arr = [];
 
-       $arr['guid'] = get_guid(32);
+       $arr['guid'] = System::createGUID(32);
        $arr['uri'] = $uri;
        $arr['uid'] = $owner_uid;
        $arr['contact-id'] = $contact['id'];
-       $arr['type'] = 'activity';
        $arr['wall'] = $item['wall'];
        $arr['origin'] = 1;
-       $arr['gravity'] = GRAVITY_LIKE;
+       $arr['gravity'] = GRAVITY_ACTIVITY;
        $arr['parent'] = $item['id'];
        $arr['parent-uri'] = $item['uri'];
        $arr['thr-parent'] = $item['uri'];