aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/entity
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/entity')
-rw-r--r--libdino/src/entity/message.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/entity/message.vala b/libdino/src/entity/message.vala
index 3c5d03d3..e41e3646 100644
--- a/libdino/src/entity/message.vala
+++ b/libdino/src/entity/message.vala
@@ -47,7 +47,7 @@ public class Message : Object {
public Marked marked {
get { return marked_; }
set {
- if (marked == Marked.RECEIVED && marked == Marked.READ) return;
+ if (marked == Marked.RECEIVED && value == Marked.READ) return;
marked_ = value;
}
}