summaryrefslogtreecommitdiffstats
path: root/framework/qml/MailListView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-29 17:41:15 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-29 17:41:15 +0100
commit6d2699c73a27078343037235b9bdcd7112320ab2 (patch)
tree83bea531cf21f6f2142092d4ed14ada979ad308d /framework/qml/MailListView.qml
parentffefff6c6ed10c9992c9de7fa4f99a30f1f99901 (diff)
downloadkube-6d2699c73a27078343037235b9bdcd7112320ab2.tar.gz
kube-6d2699c73a27078343037235b9bdcd7112320ab2.zip
Always mark the full conversation as read.
Marking individual messages as read didn't really feel all that useful.
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r--framework/qml/MailListView.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml
index 96cf30bc..1cdc664f 100644
--- a/framework/qml/MailListView.qml
+++ b/framework/qml/MailListView.qml
@@ -33,7 +33,10 @@ FocusScope {
33 property bool isUnread : false 33 property bool isUnread : false
34 property variant currentMail: null 34 property variant currentMail: null
35 35
36 onCurrentMailChanged: Kube.Fabric.postMessage(Kube.Messages.mailSelection, {"mail":currentMail}) 36 onCurrentMailChanged: {
37 Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": currentMail})
38 Kube.Fabric.postMessage(Kube.Messages.mailSelection, {"mail": currentMail})
39 }
37 40
38 Kube.Listener { 41 Kube.Listener {
39 filter: Kube.Messages.folderSelection 42 filter: Kube.Messages.folderSelection