]> git.mxchange.org Git - friendica.git/commitdiff
Fix sending messages to relay servers
authorMichael <heluecht@pirati.ca>
Mon, 26 Mar 2018 23:39:59 +0000 (23:39 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 26 Mar 2018 23:39:59 +0000 (23:39 +0000)
src/Protocol/Diaspora.php

index dd2105849611c05946ccb57017df466a9b4deb43..f925dc9b5797cb8a6f5d5dba6d7a08f043fe4b85 100644 (file)
@@ -3222,7 +3222,7 @@ class Diaspora
 
                // We always try to use the data from the fcontact table.
                // This is important for transmitting data to Friendica servers.
-               if (!empty($contact['addr'])) {
+               if (!empty($contact['addr']) && ($contact['network'] != NETWORK_DIASPORA)) {
                        $fcontact = self::personByHandle($contact['addr']);
                        $dest_url = ($public_batch ? $fcontact["batch"] : $fcontact["notify"]);
                } else {