mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-24 04:36:20 -06:00
Remove Source from rss
This commit is contained in:
parent
2fecef01f2
commit
ce11609036
1 changed files with 0 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue