]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Merge pull request #12586 from MrPetovan/task/entitize-delivery-queue
[friendica.git] / src / Protocol / Diaspora.php
index 3ab91a0cb46fbb4a4df8a7a31125f9b37ed4d24d..bf6bfdd63dcefd078ff2fa36e4e86d40e198b15c 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
  *
@@ -2958,7 +2958,7 @@ class Diaspora
                if (!empty($contact['gsid']) && (empty($return_code) || $postResult->isTimeout())) {
                        GServer::setFailureById($contact['gsid']);
                } elseif (!empty($contact['gsid']) && ($return_code >= 200) && ($return_code <= 299)) {
-                       GServer::setReachableById($contact['gsid']);
+                       GServer::setReachableById($contact['gsid'], Protocol::DIASPORA);
                }
 
                Logger::notice('transmit: ' . $logid . '-' . $guid . ' to ' . $dest_url . ' returns: ' . $return_code);