From: Michael Date: Mon, 26 Mar 2018 23:39:59 +0000 (+0000) Subject: Fix sending messages to relay servers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc03c8846c04888c42a9babf1787dfdb10a40132;p=friendica.git Fix sending messages to relay servers --- 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 {