diff options
author | Zach Copley <zach@status.net> | 2010-03-03 17:35:18 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-03-03 20:58:34 -0800 |
commit | f210cadfecc4f87e1fb8e35cd784a7010c443c31 (patch) | |
tree | 8c900b41211719b4e2267126f670ad97a3230c27 /lib/atomusernoticefeed.php | |
parent | b97ac60209fdec3f2d521f7c9d54acca6d00d274 (diff) |
Revert "Revert "Show <activity:subject> and no activity actors for user feed""
This reverts commit e2578cfad68c45ca177c51997c4cc7c0abafbd9a.
Diffstat (limited to 'lib/atomusernoticefeed.php')
-rw-r--r-- | lib/atomusernoticefeed.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/atomusernoticefeed.php b/lib/atomusernoticefeed.php index 55cebef6d..428cc2de2 100644 --- a/lib/atomusernoticefeed.php +++ b/lib/atomusernoticefeed.php @@ -61,6 +61,7 @@ class AtomUserNoticeFeed extends AtomNoticeFeed if (!empty($user)) { $profile = $user->getProfile(); $this->addAuthor($profile->nickname, $user->uri); + $this->setActivitySubject($profile->asActivityNoun('subject')); } $title = sprintf(_("%s timeline"), $user->nickname); @@ -105,4 +106,14 @@ class AtomUserNoticeFeed extends AtomNoticeFeed { return $this->user; } + + function showSource() + { + return false; + } + + function showAuthor() + { + return false; + } } |