diff options
Diffstat (limited to 'internal/typeutils')
-rw-r--r-- | internal/typeutils/internaltorss.go | 1 | ||||
-rw-r--r-- | internal/typeutils/internaltorss_test.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/internal/typeutils/internaltorss.go b/internal/typeutils/internaltorss.go index e1174caf6..4f4b2b93a 100644 --- a/internal/typeutils/internaltorss.go +++ b/internal/typeutils/internaltorss.go @@ -160,6 +160,7 @@ func (c *Converter) StatusToRSSItem(ctx context.Context, s *gtsmodel.Status) (*f Source: source, Description: description, Id: id, + IsPermaLink: "true", Updated: s.UpdatedAt, Created: s.CreatedAt, Enclosure: enclosure, diff --git a/internal/typeutils/internaltorss_test.go b/internal/typeutils/internaltorss_test.go index 305015d28..e9848b806 100644 --- a/internal/typeutils/internaltorss_test.go +++ b/internal/typeutils/internaltorss_test.go @@ -130,6 +130,7 @@ func (suite *InternalToRSSTestSuite) TestStatusToRSSItem3() { </Author> <Description>@admin@localhost:8080 made a new post</Description> <Id>http://localhost:8080/@admin/statuses/01H7G0VW1ACBZTRHN6RSA4JWVH</Id> + <IsPermaLink>true</IsPermaLink> <Updated>0001-01-01T00:00:00Z</Updated> <Created>0001-01-01T00:00:00Z</Created> <Enclosure> |