From b8b227b32882fb511c8481a41c53637e7ce7707a Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 23 Oct 2010 01:20:26 -0700 Subject: add nicknames to contact records (going forward and retroactive) --- mod/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile.php') diff --git a/mod/profile.php b/mod/profile.php index f99a3c4f2..6c60ea8ac 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -65,7 +65,7 @@ function profile_init(&$a) { $a->page['htmlhead'] .= '' . "\r\n" ; $a->page['htmlhead'] .= '' . "\r\n" ; - $uri = urlencode('acct:' . $a->user['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : '')); + $uri = urlencode('acct:' . $a->profile['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : '')); $a->page['htmlhead'] .= '' . "\r\n"; header('Link: <' . $a->get_baseurl() . '/xrd/?uri=' . $uri . '>; rel="lrdd"; type="application/xrd+xml"'); -- cgit v1.2.3