Commit 49847bbc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/release/19.12'

parents 3720a7c4 ac02f7be
...@@ -216,10 +216,6 @@ Article::Private::Private(const ItemPtr &article, Feed *feed_, Backend::FeedStor ...@@ -216,10 +216,6 @@ Article::Private::Private(const ItemPtr &article, Feed *feed_, Backend::FeedStor
archive->setAuthorUri(guid, firstAuthor->uri()); archive->setAuthorUri(guid, firstAuthor->uri());
archive->setAuthorEMail(guid, firstAuthor->email()); archive->setAuthorEMail(guid, firstAuthor->email());
} }
const QList<EnclosurePtr> encs = article->enclosures();
if (!encs.isEmpty()) {
archive->setEnclosure(guid, encs[0]->url(), encs[0]->type(), encs[0]->length());
}
} else { } else {
// always update comments count, as it's not used for hash calculation // always update comments count, as it's not used for hash calculation
if (hash != archive->hash(guid)) { //article is in archive, was it modified? if (hash != archive->hash(guid)) { //article is in archive, was it modified?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment