diff options
author | Alexander Alexeev | 2016-12-11 00:52:57 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-11 18:24:37 +0300 |
commit | ac6c86ddd482721e7011dcb727e4099b8cdf84b1 (patch) | |
tree | 233ff85e261037b0949e4aa5105ca0dbcd22e9c4 /juick-core/src | |
parent | 5ff660e5f3e73382781f854a0afc350d2ad6d626 (diff) |
anonymous user support
Diffstat (limited to 'juick-core/src')
-rw-r--r-- | juick-core/src/main/java/com/juick/User.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/juick-core/src/main/java/com/juick/User.java b/juick-core/src/main/java/com/juick/User.java index e0bc490c..84f2b396 100644 --- a/juick-core/src/main/java/com/juick/User.java +++ b/juick-core/src/main/java/com/juick/User.java @@ -184,4 +184,10 @@ public class User { public void setMessagesCount(int messagesCount) { this.messagesCount = messagesCount; } + + @XmlTransient + @JsonIgnore + public boolean isAnonym() { + return false; + } } |