Always use fetchURL to get the feed

This commit is contained in:
Peter Stuifzand 2018-04-11 22:06:13 +02:00
parent 68a98ee59e
commit c9c505bda4

View File

@ -152,13 +152,7 @@ func (b *memoryBackend) feedHeader(fetchURL, contentType string, body io.Reader)
feed.Type = "feed"
feed.Name = xfeed.Title
feed.URL = xfeed.Link
if feed.URL == "" {
feed.URL = fetchURL
}
if feed.URL == "" {
feed.URL = fetchURL
}
feed.URL = fetchURL
feed.Description = xfeed.Description
feed.Photo = xfeed.Image.URL
} else {