From 8b0a3a1ea54d5a32c1e651949d4e85e9565f6bc6 Mon Sep 17 00:00:00 2001 From: pnwmatt <180812017+pnwmatt@users.noreply.github.com> Date: Fri, 7 Feb 2025 03:00:49 -0800 Subject: [PATCH] Remove Author from rss --- internal/typeutils/internaltorss.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/typeutils/internaltorss.go b/internal/typeutils/internaltorss.go index 43ca7ba48..81e1b7cce 100644 --- a/internal/typeutils/internaltorss.go +++ b/internal/typeutils/internaltorss.go @@ -54,8 +54,6 @@ func (c *Converter) StatusToRSSItem(ctx context.Context, s *gtsmodel.Status) (*f Href: s.URL, } - // Author -- Email address of the author of the item. - // example: oprah\@oxygen.net if s.Account == nil { a, err := c.state.DB.GetAccountByID(ctx, s.AccountID) if err != nil { @@ -64,9 +62,6 @@ func (c *Converter) StatusToRSSItem(ctx context.Context, s *gtsmodel.Status) (*f s.Account = a } authorName := "@" + s.Account.Username + "@" + config.GetAccountDomain() - author := &feeds.Author{ - Name: authorName, - } // Source -- The RSS channel that the item came from. source := &feeds.Link{ @@ -156,7 +151,6 @@ func (c *Converter) StatusToRSSItem(ctx context.Context, s *gtsmodel.Status) (*f return &feeds.Item{ Title: title, Link: link, - Author: author, Source: source, Description: description, Id: id,