This commit is contained in:
parent
572c108dc1
commit
1d10f555f3
|
@ -331,7 +331,7 @@ func FeedItems(fetcher Fetcher, fetchURL, contentType string, body io.Reader) ([
|
||||||
for i, v := range items {
|
for i, v := range items {
|
||||||
// Clear type of author, when other fields also aren't set
|
// Clear type of author, when other fields also aren't set
|
||||||
if v.Author != nil && v.Author.Name == "" && v.Author.Photo == "" && v.Author.URL == "" {
|
if v.Author != nil && v.Author.Name == "" && v.Author.Photo == "" && v.Author.URL == "" {
|
||||||
v.Type = ""
|
v.Author.Type = ""
|
||||||
items[i] = v
|
items[i] = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user