]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
Some loglevels are adjusted to more reasonablöe levels
[friendica.git] / src / Protocol / DFRN.php
index 8bf299be680195f8c7e31b66dbb503eae7f66ce1..26d5376e4e0d40152f4fffafbdb6c9ee5ae54b34 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
  *
@@ -1040,7 +1040,7 @@ class DFRN
                }
 
                if (!empty($contact['gsid'])) {
-                       GServer::setReachableById($contact['gsid']);
+                       GServer::setReachableById($contact['gsid'], Protocol::DFRN);
                }
 
                if (!empty($res->message)) {
@@ -2079,6 +2079,7 @@ class DFRN
                        // This is my contact on another system, but it's really me.
                        // Turn this into a wall post.
                        $notify = Item::isRemoteSelf($importer, $item);
+                       $item['wall'] = (bool)$notify;
 
                        $posted_id = Item::insert($item, $notify);