aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xrd.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-25 17:21:42 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-25 17:21:42 -0700
commite5dec8671e02836312ab9425b99db6960ae22792 (patch)
tree65d18ec579412ec8cd9220a3e6002bb3e7e50d29 /mod/xrd.php
parent5fa2aa6d481fe0597044f2e3d4434fc9f4311fe7 (diff)
downloadvolse-hubzilla-e5dec8671e02836312ab9425b99db6960ae22792.tar.gz
volse-hubzilla-e5dec8671e02836312ab9425b99db6960ae22792.tar.bz2
volse-hubzilla-e5dec8671e02836312ab9425b99db6960ae22792.zip
make diaspora person guids for hubzilla folks globally unique. That's what a globally unique ID is. This forever kills the prospect of making nomadic identity work flawlessly on Diaspora. But since all your identities have the same guid, this allows your different identities to communicate with Diaspora; which would otherwise fail to connect to your other instances because of the guid collision.
Diffstat (limited to 'mod/xrd.php')
-rw-r--r--mod/xrd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/xrd.php b/mod/xrd.php
index 4fa81c7f3..d547194ad 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -24,7 +24,7 @@ function xrd_init(&$a) {
$dspr = replace_macros(get_markup_template('xrd_diaspora.tpl'),array(
'$baseurl' => $a->get_baseurl(),
- '$dspr_guid' => $r[0]['channel_guid'],
+ '$dspr_guid' => $r[0]['channel_guid'] . str_replace('.','',$a->get_hostname()),
'$dspr_key' => base64_encode(pemtorsa($r[0]['channel_pubkey']))
));