]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/rssaction.php
don't hide unsub button for remote users
[quix0rs-gnu-social.git] / lib / rssaction.php
index eafdbf131d6d00d3801adb87729e49928a024598..0c8188e88021a8aca153d0eefb09ecf2b5805861 100644 (file)
@@ -212,6 +212,10 @@ class Rss10Action extends Action
         $this->element('sioc:has_creator', array('rdf:resource' => $creator_uri.'#acct'));
         $this->element('laconica:postIcon', array('rdf:resource' => $profile->avatarUrl()));
         $this->element('cc:licence', array('rdf:resource' => common_config('license', 'url')));
+        if ($notice->reply_to) {
+            $replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to));
+            $this->element('sioc:reply_of', array('rdf:resource' => $replyurl));
+        }
         $this->elementEnd('item');
         $this->creators[$creator_uri] = $profile;
     }