summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions/xrd.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-02-26 13:40:33 -0500
committerJames Walker <walkah@walkah.net>2010-02-26 14:22:49 -0500
commit3a7eef1074a80150fd428c73d49bcd4fc1b66e89 (patch)
treecda3293c08a6b2a8985ff97333ad8bb720afbcaf /plugins/OStatus/actions/xrd.php
parentbbb0a7d5bc2c8815a2057eb0a6588d8d60ff4416 (diff)
only put public keys in XRD
Diffstat (limited to 'plugins/OStatus/actions/xrd.php')
-rw-r--r--plugins/OStatus/actions/xrd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/xrd.php b/plugins/OStatus/actions/xrd.php
index 4350ad025..f574b60ee 100644
--- a/plugins/OStatus/actions/xrd.php
+++ b/plugins/OStatus/actions/xrd.php
@@ -99,7 +99,7 @@ class XrdAction extends Action
}
$xrd->links[] = array('rel' => Magicsig::PUBLICKEYREL,
- 'href' => 'data:application/magic-public-key;'. $magickey->keypair);
+ 'href' => 'data:application/magic-public-key;'. $magickey->toString(false));
// TODO - finalize where the redirect should go on the publisher
$url = common_local_url('ostatussub') . '?profile={uri}';