Browse Source

Fix RSS with normal links do not work (#7016)

Fix regression of RSS code redesign.
Closes #7003.
adaptive-webui-19844
Vladimir Golovnev 7 years ago committed by GitHub
parent
commit
4d28f8f48d
  1. 5
      src/base/rss/rss_article.cpp

5
src/base/rss/rss_article.cpp

@ -69,6 +69,11 @@ Article::Article(Feed *feed, const QVariantHash &varHash) @@ -69,6 +69,11 @@ Article::Article(Feed *feed, const QVariantHash &varHash)
throw std::runtime_error("Bad RSS Article data");
m_data[KeyId] = m_guid;
if (m_torrentURL.isEmpty()) {
m_torrentURL = m_link;
m_data[KeyTorrentURL] = m_torrentURL;
}
}
Article::Article(Feed *feed, const QJsonObject &jsonObj)

Loading…
Cancel
Save