mirror of
https://github.com/glanceapp/glance.git
synced 2025-02-22 05:10:54 +01:00
Fix broken reddit video thumbnail URLs
This commit is contained in:
parent
b4b61c94d7
commit
0702e0abd3
@ -227,7 +227,7 @@ func fetchSubredditPosts(subreddit, sort, topPeriod, search, commentsUrlTemplate
|
||||
}
|
||||
|
||||
if post.Thumbnail != "" && post.Thumbnail != "self" && post.Thumbnail != "default" && post.Thumbnail != "nsfw" {
|
||||
forumPost.ThumbnailUrl = post.Thumbnail
|
||||
forumPost.ThumbnailUrl = html.UnescapeString(post.Thumbnail)
|
||||
}
|
||||
|
||||
if !post.IsSelf {
|
||||
|
Loading…
Reference in New Issue
Block a user