aboutsummaryrefslogtreecommitdiff
path: root/juick-common
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-15 12:10:29 +0300
committerGravatar Vitaly Takmazov2018-07-15 12:10:29 +0300
commit72d6b69ea234a67bb392f21dac9dea1a2d28b6f5 (patch)
treec608dc043393d79a75470128b54b258749708a11 /juick-common
parent3870fd009e13d728a343d2ebe79c4f6cd113f2ab (diff)
unread in /me
Diffstat (limited to 'juick-common')
-rw-r--r--juick-common/src/main/java/com/juick/User.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/User.java b/juick-common/src/main/java/com/juick/User.java
index 3b74f31c..b81739a2 100644
--- a/juick-common/src/main/java/com/juick/User.java
+++ b/juick-common/src/main/java/com/juick/User.java
@@ -48,6 +48,7 @@ public class User {
private List<ExternalToken> tokens;
private List<User> read;
private List<User> readers;
+ private List<Integer> unread;
public User() {
tokens = new ArrayList<>();
@@ -199,4 +200,12 @@ public class User {
public void setReaders(List<User> readers) {
this.readers = readers;
}
+
+ public List<Integer> getUnread() {
+ return unread;
+ }
+
+ public void setUnread(List<Integer> unread) {
+ this.unread = unread;
+ }
}