diff options
author | Vitaly Takmazov | 2018-12-03 16:19:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-12-03 16:19:53 +0300 |
commit | ff72f0b789fe7f2e6689de8cc990bdc8fa00f9da (patch) | |
tree | b65c58a51979f19c441a74a99078f1f5d7e201b7 /src/main/java/com/juick/User.java | |
parent | 440d38bcb2b063546459f59fc1565010fed5d5b8 (diff) |
add verified field for User
Diffstat (limited to 'src/main/java/com/juick/User.java')
-rw-r--r-- | src/main/java/com/juick/User.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/com/juick/User.java b/src/main/java/com/juick/User.java index f1f74892..7221e416 100644 --- a/src/main/java/com/juick/User.java +++ b/src/main/java/com/juick/User.java @@ -52,6 +52,7 @@ public class User { private List<Integer> unread; private URI uri; private Instant seen; + private boolean verified; public User() { tokens = new ArrayList<>(); @@ -223,4 +224,12 @@ public class User { public void setSeen(Instant seen) { this.seen = seen; } + + public boolean isVerified() { + return verified; + } + + public void setVerified(boolean verified) { + this.verified = verified; + } } |