aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/User.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/User.java')
-rw-r--r--src/main/java/com/juick/User.java24
1 files changed, 4 insertions, 20 deletions
diff --git a/src/main/java/com/juick/User.java b/src/main/java/com/juick/User.java
index 13df2058..40a3df96 100644
--- a/src/main/java/com/juick/User.java
+++ b/src/main/java/com/juick/User.java
@@ -28,9 +28,9 @@ public class User {
public Object Avatar = null;
private String FullName = null;
private String JID = null;
- private int unreadCount;
+ public int MessagesCount = 0;
private String AuthHash = null;
- private boolean banned = false;
+ public boolean Banned = false;
public User() {
}
@@ -41,9 +41,9 @@ public class User {
Avatar = u.Avatar;
setFullName(u.getFullName());
setJID(u.getJID());
- setUnreadCount(u.getUnreadCount());
+ MessagesCount = u.MessagesCount;
setAuthHash(u.getAuthHash());
- setBanned(u.isBanned());
+ Banned = u.Banned;
}
@Override
@@ -90,20 +90,4 @@ public class User {
public void setAuthHash(String authHash) {
AuthHash = authHash;
}
-
- public int getUnreadCount() {
- return unreadCount;
- }
-
- public void setUnreadCount(int unreadCount) {
- this.unreadCount = unreadCount;
- }
-
- public boolean isBanned() {
- return banned;
- }
-
- public void setBanned(boolean banned) {
- this.banned = banned;
- }
}