]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora/Factory/DiasporaContact.php
Happy New Year 2023!
[friendica.git] / src / Protocol / Diaspora / Factory / DiasporaContact.php
index d5c91d200bea97390fe428170b8f5237db047865..80a26b2986a6e2eb6bbdb1957e20a3be0be6e43a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -45,7 +45,7 @@ class DiasporaContact extends \Friendica\BaseFactory implements ICanCreateFromTa
                        $row['batch'] ? new Uri($row['batch']) : null,
                        $row['notify'] ? new Uri($row['notify']) : null,
                        $row['poll'] ? new Uri($row['poll']) : null,
-                       $row['subscribe'] ? new Uri($row['subscribe']) : null,
+                       $row['subscribe'],
                        $row['searchable'],
                        $row['pubkey'],
                        $row['baseurl'] ? new Uri($row['baseurl']) : null,
@@ -87,7 +87,7 @@ class DiasporaContact extends \Friendica\BaseFactory implements ICanCreateFromTa
                        $data['batch'] ? new Uri($data['batch']) : null,
                        $data['notify'] ? new Uri($data['notify']) : null,
                        $data['poll'] ? new Uri($data['poll']) : null,
-                       $data['subscribe'] ? new Uri($data['subscribe']) : null,
+                       $data['subscribe'],
                        !$data['hide'],
                        $data['pubkey'],
                        $data['baseurl'] ? new Uri($data['baseurl']) : null,