]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/replies.php
inverted if() in RealtimePlugin check for tag
[quix0rs-gnu-social.git] / actions / replies.php
index cf248a7785c49e0c89ece25321bca148443026d3..86042557dc11d2cb1afebc12b14ecb55669365f2 100644 (file)
@@ -143,7 +143,16 @@ class RepliesAction extends Action
      */
     function getFeeds()
     {
-        return array(new Feed(Feed::RSS1,
+        return array(new Feed(Feed::JSON,
+                              common_local_url('ApiTimelineMentions',
+                                               array(
+                                                    'id' => $this->user->nickname,
+                                                    'format' => 'as')),
+                              // TRANS: Link for feed with replies for a user.
+                              // TRANS: %s is a user nickname.
+                              sprintf(_('Replies feed for %s (Activity Streams JSON)'),
+                                      $this->user->nickname)),
+                     new Feed(Feed::RSS1,
                               common_local_url('repliesrss',
                                                array('nickname' => $this->user->nickname)),
                               // TRANS: Link for feed with replies for a user.