aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java/com/juick/json
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/main/java/com/juick/json')
-rw-r--r--juick-core/src/main/java/com/juick/json/UserSerializer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-core/src/main/java/com/juick/json/UserSerializer.java b/juick-core/src/main/java/com/juick/json/UserSerializer.java
index 08d21d393..120645a62 100644
--- a/juick-core/src/main/java/com/juick/json/UserSerializer.java
+++ b/juick-core/src/main/java/com/juick/json/UserSerializer.java
@@ -52,8 +52,8 @@ public class UserSerializer extends JSONSerializer<User> {
if (user.getFullName() != null) {
json.put("fullname", user.getFullName());
}
- if (user.getJID() != null) {
- json.put("jid", user.getJID());
+ if (user.getJid() != null) {
+ json.put("jid", user.getJid());
}
if (user.getUnreadCount() > 0) {
json.put("unreadCount", user.getUnreadCount());