Add rel=self link too feed.
[akkoma] / lib / pleroma / web / ostatus / feed_representer.ex
index 1576b47108eb0c725925d0c0bacee8e81273ba48..42be5f7937285cd0b0574a9ae282a2ae0ad427e1 100644 (file)
@@ -21,7 +21,8 @@ defmodule Pleroma.Web.OStatus.FeedRepresenter do
         {:title, ['#{user.nickname}\'s timeline']},
         {:updated, h.(most_recent_update)},
         {:link, [rel: 'hub', href: h.(OStatus.pubsub_path(user))], []},
-        {:author, UserRepresenter.to_simple_form(user)}
+        {:link, [rel: 'self', href: h.(OStatus.feed_path(user))], []},
+        {:author, UserRepresenter.to_simple_form(user)},
       ] ++ entries
     }]
   end