summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/qml/ConversationView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml
index d0906068..5850d2c7 100644
--- a/framework/qml/ConversationView.qml
+++ b/framework/qml/ConversationView.qml
@@ -165,7 +165,9 @@ Rectangle {
165 running: false 165 running: false
166 repeat: false 166 repeat: false
167 onTriggered: { 167 onTriggered: {
168 Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": root.currentMail}) 168 if (!!root.currentMail) {
169 Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": root.currentMail})
170 }
169 } 171 }
170 } 172 }
171 173