Browse Source

Merge pull request #4687 from annando/fix-relay

Fix sending messages to relay servers
pull/4690/head
Hypolite Petovan 4 years ago committed by GitHub
parent
commit
5a6b846445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Protocol/Diaspora.php

2
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 {

Loading…
Cancel
Save