From bc03c8846c04888c42a9babf1787dfdb10a40132 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 26 Mar 2018 23:39:59 +0000 Subject: [PATCH] Fix sending messages to relay servers --- src/Protocol/Diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index dd21058496..f925dc9b57 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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 {