gmail can now download only unread msgs optionally

This commit is contained in:
Martin Rotter 2021-04-01 07:45:54 +02:00
parent 0db772361d
commit 706e1c8750

View File

@ -201,7 +201,7 @@ QList<Message> GmailNetworkFactory::messages(const QString& stream_id,
target_url += QString("?labelIds=%1").arg(stream_id);
if (downloadOnlyUnreadMessages()) {
target_url += QString("?labelIds=%1").arg(GMAIL_SYSTEM_LABEL_UNREAD);
target_url += QString("&labelIds=%1").arg(GMAIL_SYSTEM_LABEL_UNREAD);
}
if (batchSize() > 0) {