aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/main')
-rw-r--r--juick-core/src/main/java/com/juick/User.java19
1 files changed, 19 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 03805a65..364bc6ca 100644
--- a/juick-core/src/main/java/com/juick/User.java
+++ b/juick-core/src/main/java/com/juick/User.java
@@ -39,6 +39,7 @@ public class User {
private String authHash;
private boolean banned;
private String credentials;
+ private String lang;
public User() {
}
@@ -52,6 +53,7 @@ public class User {
this.messagesCount = u.getUnreadCount();
this.authHash = u.getAuthHash();
this.banned = u.isBanned();
+ this.credentials = u.getCredentials();
}
@Override
@@ -75,6 +77,7 @@ public class User {
.append("fullName", fullName)
.append("jid", jid)
.append("messagesCount", messagesCount)
+ .append("lang", lang)
.append("banned", banned)
.toString();
}
@@ -164,4 +167,20 @@ public class User {
public void setCredentials(String credentials) {
this.credentials = credentials;
}
+
+ public String getLang() {
+ return lang;
+ }
+
+ public void setLang(String lang) {
+ this.lang = lang;
+ }
+
+ public int getMessagesCount() {
+ return messagesCount;
+ }
+
+ public void setMessagesCount(int messagesCount) {
+ this.messagesCount = messagesCount;
+ }
}