https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25981e8
)
Fix sending messages to relay servers
author
Michael
<heluecht@pirati.ca>
Mon, 26 Mar 2018 23:39:59 +0000
(23:39 +0000)
committer
Michael
<heluecht@pirati.ca>
Mon, 26 Mar 2018 23:39:59 +0000
(23:39 +0000)
src/Protocol/Diaspora.php
patch
|
blob
|
history
diff --git
a/src/Protocol/Diaspora.php
b/src/Protocol/Diaspora.php
index
dd21058
..
f925dc9
100644
(file)
--- 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 {