]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atomnoticefeed.php
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
[quix0rs-gnu-social.git] / lib / atomnoticefeed.php
index 3c3556cb95c789c59c951440cf73c6b12ad64801..e4df731fe02a5c3bdb7657f6d504177395345ae1 100644 (file)
@@ -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;
+    }
+}