Skip to content

Commit

Permalink
Fixing regression where some GIFs on i.redd.it wouldn't play
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumBadger committed Mar 11, 2023
1 parent 1ea6acd commit f08ab4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/assets/changelog-alpha.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/Alpha 329 (2023-03-11)
Fixing regression where some GIFs on i.redd.it wouldn't play

/Alpha 328 (2023-02-14)
Fixing comment parse error caused by media metadata

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class RedditParsedPost(
return this
}

if (src.url?.decoded?.contains("\\.gif") == true) {
if (src.url?.decoded?.contains(".gif") == true) {
src.preview?.images?.get(0)?.variants?.mp4?.source?.url?.decoded?.apply {
return this
}
Expand Down

0 comments on commit f08ab4e

Please sign in to comment.