summaryrefslogtreecommitdiff
path: root/lib/atomnoticefeed.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-05-19 10:59:14 -0700
committerBrion Vibber <brion@pobox.com>2010-05-19 10:59:14 -0700
commita39a934dd4a133bad6e76fa9a5018cedcb70225c (patch)
treef82b4248da5447780df322c35ca041956bcd887e /lib/atomnoticefeed.php
parentd0ba34e0f32ac71b552302ec875943e0e9236720 (diff)
parent74a89b1fc37067d91d31bd66922053361eb4e616 (diff)
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/atomnoticefeed.php')
-rw-r--r--lib/atomnoticefeed.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/atomnoticefeed.php b/lib/atomnoticefeed.php
index e4df731fe..35a45118c 100644
--- a/lib/atomnoticefeed.php
+++ b/lib/atomnoticefeed.php
@@ -79,6 +79,11 @@ class AtomNoticeFeed extends Atom10Feed
'ostatus',
'http://ostatus.org/schema/1.0'
);
+
+ $this->addNamespace(
+ 'statusnet',
+ 'http://status.net/ont/'
+ );
}
/**
@@ -110,7 +115,9 @@ class AtomNoticeFeed extends Atom10Feed
$source = $this->showSource();
$author = $this->showAuthor();
- $this->addEntryRaw($notice->asAtomEntry(false, $source, $author));
+ $cur = common_current_user();
+
+ $this->addEntryRaw($notice->asAtomEntry(false, $source, $author, $cur));
}
function showSource()