aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/main/java/com')
-rw-r--r--juick-core/src/main/java/com/juick/User.java6
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;
+ }
}