Prefer i.redd.it ID over post ID for reddit image host.

This commit is contained in:
2018-04-22 17:10:08 +02:00
parent ff65963b03
commit 90ac18a3e3

View File

@@ -8,7 +8,7 @@ function reddit(post) {
return Promise.resolve({
album: null,
items: [{
id: post.id,
id: post.host.id || post.id,
url: post.url,
title: post.title,
datetime: post.datetime,