Remove Source from rss

This commit is contained in:
pnwmatt 2025-02-07 03:01:04 -08:00
commit ce11609036
No known key found for this signature in database

View file

@ -63,11 +63,6 @@ func (c *Converter) StatusToRSSItem(ctx context.Context, s *gtsmodel.Status) (*f
}
authorName := "@" + s.Account.Username + "@" + config.GetAccountDomain()
// Source -- The RSS channel that the item came from.
source := &feeds.Link{
Href: s.Account.URL + "/feed.rss",
}
// Description -- The item synopsis.
// example: Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged.
descriptionBuilder := strings.Builder{}
@ -151,7 +146,6 @@ func (c *Converter) StatusToRSSItem(ctx context.Context, s *gtsmodel.Status) (*f
return &feeds.Item{
Title: title,
Link: link,
Source: source,
Description: description,
Id: id,
IsPermaLink: "true",