]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/ActivityPub.php
Merge remote-tracking branch 'upstream/develop' into failed
[friendica.git] / src / Protocol / ActivityPub.php
index 9d6223a748d4d090d060ef3c97a037c70635a4e3..2f8c2f419e5d0cc5e87d453b561b7e0016ddc717 100644 (file)
@@ -145,7 +145,7 @@ class ActivityPub
        {
                $apcontact = APContact::getByURL($url, $update);
                if (empty($apcontact)) {
-                       return false;
+                       return [];
                }
 
                $profile = ['network' => Protocol::ACTIVITYPUB];
@@ -170,6 +170,7 @@ class ActivityPub
                $profile['notify'] = $apcontact['inbox'];
                $profile['poll'] = $apcontact['outbox'];
                $profile['pubkey'] = $apcontact['pubkey'];
+               $profile['subscribe'] = $apcontact['subscribe'];
                $profile['baseurl'] = $apcontact['baseurl'];
                $profile['gsid'] = $apcontact['gsid'];