summaryrefslogtreecommitdiff
path: root/lib/atomusernoticefeed.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-22 01:21:34 -0800
committerZach Copley <zach@status.net>2010-02-22 01:21:34 -0800
commit47300a2ae9a51108fbf59a57cf5ab6e8867b54a6 (patch)
treea3f6f6100deb25e8a6ae35aa2130a3be0c310201 /lib/atomusernoticefeed.php
parentca2a88545d353f0e887f48fe0e3bd43b505031ca (diff)
Upgrade profile-based activity noun to have more complete set of
profile fields
Diffstat (limited to 'lib/atomusernoticefeed.php')
-rw-r--r--lib/atomusernoticefeed.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/atomusernoticefeed.php b/lib/atomusernoticefeed.php
index f71c721fe..2ad8de455 100644
--- a/lib/atomusernoticefeed.php
+++ b/lib/atomusernoticefeed.php
@@ -60,8 +60,7 @@ class AtomUserNoticeFeed extends AtomNoticeFeed
$this->user = $user;
if (!empty($user)) {
$profile = $user->getProfile();
- $this->addAuthor($profile->getBestName(),
- $user->uri);
+ $this->addAuthor($profile->nickname, $user->uri);
}
}