summaryrefslogtreecommitdiff
path: root/lib/atomnoticefeed.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-04 00:29:56 -0500
committerSarven Capadisli <csarven@status.net>2010-03-04 00:29:56 -0500
commit9501882e80a5f07574506bcae027e7a93e20b1af (patch)
treeff4390493257353611cf9b0ef3fed9c680353d0a /lib/atomnoticefeed.php
parentce9d1618851156cc225a56980c4268a5fe102806 (diff)
parent8ffb34a90c78502843aabaac71963d2f40c505d8 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/atomnoticefeed.php')
-rw-r--r--lib/atomnoticefeed.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/atomnoticefeed.php b/lib/atomnoticefeed.php
index 3c3556cb9..e4df731fe 100644
--- a/lib/atomnoticefeed.php
+++ b/lib/atomnoticefeed.php
@@ -107,9 +107,19 @@ class AtomNoticeFeed extends Atom10Feed
*/
function addEntryFromNotice($notice)
{
- $this->addEntryRaw($notice->asAtomEntry());
- }
+ $source = $this->showSource();
+ $author = $this->showAuthor();
-}
+ $this->addEntryRaw($notice->asAtomEntry(false, $source, $author));
+ }
+ function showSource()
+ {
+ return true;
+ }
+ function showAuthor()
+ {
+ return true;
+ }
+}