aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src/main')
-rw-r--r--juick-common/src/main/java/com/juick/Message.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/Message.java b/juick-common/src/main/java/com/juick/Message.java
index 155c1747..8aa8219e 100644
--- a/juick-common/src/main/java/com/juick/Message.java
+++ b/juick-common/src/main/java/com/juick/Message.java
@@ -43,6 +43,7 @@ public class Message implements Comparable {
private final List<Tag> tags;
private Instant ts;
private Instant updated;
+ private boolean unread;
@XmlTransient
@JsonIgnore
public int TimeAgo = 0;
@@ -291,4 +292,12 @@ public class Message implements Comparable {
public void setUpdated(Instant updated) {
this.updated = updated;
}
+
+ public boolean isUnread() {
+ return unread;
+ }
+
+ public void setUnread(boolean unread) {
+ this.unread = unread;
+ }
}