From a9b086954e17d6f2d64ac94b225577cb0e416f4f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 22 Feb 2018 15:22:22 +0100 Subject: Use the new changes regarding aggregated properties. This fixes marking partially unread threads as read. --- tests/teststore.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/teststore.cpp b/tests/teststore.cpp index 07310640..6dbe5622 100644 --- a/tests/teststore.cpp +++ b/tests/teststore.cpp @@ -91,6 +91,7 @@ static void createMail(const QVariantMap &object, const QByteArray &folder = {}) auto mail = ApplicationDomainType::createEntity(object["resource"].toByteArray()); mail.setMimeMessage(msg->encodedContent(true)); + mail.setUnread(object["unread"].toBool()); if (!folder.isEmpty()) { mail.setFolder(folder); } -- cgit v1.2.3