From 9423ddd2f9895aba7ba3bf9681d8684b65511eef Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 12 Apr 2021 07:34:57 +0200 Subject: [PATCH] backport more inversal greader sync trick --- resources/desktop/com.github.rssguard.appdata.xml | 2 +- resources/scripts/7za | 2 +- src/librssguard/services/greader/greadernetwork.cpp | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/desktop/com.github.rssguard.appdata.xml b/resources/desktop/com.github.rssguard.appdata.xml index 546179ebc..c83518d4a 100644 --- a/resources/desktop/com.github.rssguard.appdata.xml +++ b/resources/desktop/com.github.rssguard.appdata.xml @@ -30,7 +30,7 @@ https://martinrotter.github.io/donate/ - + none diff --git a/resources/scripts/7za b/resources/scripts/7za index 9c10723bf..47f412575 160000 --- a/resources/scripts/7za +++ b/resources/scripts/7za @@ -1 +1 @@ -Subproject commit 9c10723bfbaf6cb85107d6ee16e0324e9e487749 +Subproject commit 47f4125753452eff8800dbd6600c5a05540b15d9 diff --git a/src/librssguard/services/greader/greadernetwork.cpp b/src/librssguard/services/greader/greadernetwork.cpp index 9fb2784bf..a1ea33c22 100755 --- a/src/librssguard/services/greader/greadernetwork.cpp +++ b/src/librssguard/services/greader/greadernetwork.cpp @@ -106,7 +106,9 @@ QNetworkReply::NetworkError GreaderNetwork::markMessagesStarred(RootItem::Import QList GreaderNetwork::streamContents(ServiceRoot* root, const QString& stream_id, Feed::Status& error, const QNetworkProxy& proxy) { - QString full_url = generateFullUrl(Operations::StreamContents).arg(QUrl::toPercentEncoding(stream_id), + QString full_url = generateFullUrl(Operations::StreamContents).arg(m_service == GreaderServiceRoot::Service::TheOldReader + ? stream_id + : QUrl::toPercentEncoding(stream_id), QString::number(batchSize() <= 0 ? 2000000 : batchSize()));