diff options
author | Ugnich Anton | 2013-08-30 13:48:38 +0700 |
---|---|---|
committer | Ugnich Anton | 2013-08-30 13:48:38 +0700 |
commit | 8d1d8d845beb6bc6c99d90722169b77c3dff91e7 (patch) | |
tree | dce92d1d27f94c2c86f130223dcac52763c9e7cc /src/com/juick/json/User.java | |
parent | 40fe707e6566faa02eeba2e8f4830dbbd3992f4a (diff) |
Messages
Diffstat (limited to 'src/com/juick/json/User.java')
-rw-r--r-- | src/com/juick/json/User.java | 6 |
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) { } |