aboutsummaryrefslogtreecommitdiff
path: root/src/com/juick/json/User.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/juick/json/User.java')
-rw-r--r--src/com/juick/json/User.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/juick/json/User.java b/src/com/juick/json/User.java
index 43ee4803..dd3143c6 100644
--- a/src/com/juick/json/User.java
+++ b/src/com/juick/json/User.java
@@ -49,6 +49,12 @@ public class User {
if (user.FullName != null) {
json.put("fullname", user.FullName);
}
+ if (user.JID != null) {
+ json.put("jid", user.JID);
+ }
+ if (user.MessagesCount > 0) {
+ json.put("MessagesCount", user.MessagesCount);
+ }
} catch (JSONException e) {
}