]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/userrss.php
start conversation action
[quix0rs-gnu-social.git] / actions / userrss.php
index c1f2321eebb891b31481e2ba565e15994ad8cd66..a3e5a3aab710a05699ef64eeffb5c6084397d35a 100644 (file)
@@ -46,13 +46,13 @@ class UserrssAction extends Rss10Action
     {
 
         $user = $this->user;
-        
+
         if (is_null($user)) {
             return null;
         }
-        
+
         $notice = $user->getNotices(0, ($limit == 0) ? NOTICES_PER_PAGE : $limit);
-        
+
         while ($notice->fetch()) {
             $notices[] = clone($notice);
         }
@@ -87,12 +87,16 @@ class UserrssAction extends Rss10Action
     }
 
     # override parent to add X-SUP-ID URL
-    
+
     function initRss($limit=0)
     {
-        $url = common_local_url('sup', null, $this->user->id);
+        $url = common_local_url('sup', null, null, $this->user->id);
         header('X-SUP-ID: '.$url);
         parent::initRss($limit);
     }
-}
 
+    function isReadOnly()
+    {
+        return true;
+    }
+}