aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java/com/juick/json
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-21 13:37:53 +0700
committerGravatar Vitaly Takmazov2016-11-23 13:03:04 +0300
commite9aa20922c82bfad64adbcb6466ebdac23a84244 (patch)
tree9eb58c293fd7047f7b119d9f4937724a715b0ecd /juick-core/src/main/java/com/juick/json
parent9d3b2623dac8fe3af4d0a8d05dad8ea96ea92f3d (diff)
field names for core objects are corrected ( standard name conventions used)
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 08d21d39..120645a6 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());