summaryrefslogtreecommitdiff
path: root/lib/atomnoticefeed.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-03-04 01:31:19 -0500
committerJames Walker <walkah@walkah.net>2010-03-04 01:31:19 -0500
commit9cbeac5695454af0c2fa1a8068b45698da962064 (patch)
treebbc385497859fbf956205309836f5264762288d5 /lib/atomnoticefeed.php
parent849f5783c445934da370769310b3b0382bc5d303 (diff)
parent4b99bfce455fbbfda34f46367eb3313c0bf8c9ea (diff)
Merge remote branch 'statusnet/testing' 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;
+ }
+}