diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-22 15:22:22 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-22 15:22:22 +0100 |
commit | a9b086954e17d6f2d64ac94b225577cb0e416f4f (patch) | |
tree | e8a8350773a9b91959d9dd00f552e19cc850937c /tests | |
parent | e1242a5f8ad3722661b8d2fb4300736a1892c2e5 (diff) | |
download | kube-a9b086954e17d6f2d64ac94b225577cb0e416f4f.tar.gz kube-a9b086954e17d6f2d64ac94b225577cb0e416f4f.zip |
Use the new changes regarding aggregated properties.
This fixes marking partially unread threads as read.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/teststore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 = {}) | |||
91 | 91 | ||
92 | auto mail = ApplicationDomainType::createEntity<Mail>(object["resource"].toByteArray()); | 92 | auto mail = ApplicationDomainType::createEntity<Mail>(object["resource"].toByteArray()); |
93 | mail.setMimeMessage(msg->encodedContent(true)); | 93 | mail.setMimeMessage(msg->encodedContent(true)); |
94 | mail.setUnread(object["unread"].toBool()); | ||
94 | if (!folder.isEmpty()) { | 95 | if (!folder.isEmpty()) { |
95 | mail.setFolder(folder); | 96 | mail.setFolder(folder); |
96 | } | 97 | } |