aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-01-31 14:30:36 +0300
committerGravatar Vitaly Takmazov2018-01-31 14:30:36 +0300
commitd1dae1f5bb9de1b8ff6893e821e9aaad3e37216c (patch)
treee185e5d7ef1d54bf64a3402f2454f11bc9ceb4c9 /juick-server-core
parent0c9e67eb323189993b48d71e866b2c4f97270e5e (diff)
core: drop jid from user properties
Diffstat (limited to 'juick-server-core')
-rw-r--r--juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java10
-rw-r--r--juick-server-core/src/main/java/com/juick/service/UserService.java2
2 files changed, 0 insertions, 12 deletions
diff --git a/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java b/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java
index d1e13e78..122bbe29 100644
--- a/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java
+++ b/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java
@@ -30,7 +30,6 @@ public final class AnonymousUser extends User {
super.setName(getName());
super.setAvatar(getAvatar());
super.setFullName(getFullName());
- super.setJid(getJid());
super.setMessagesCount(getMessagesCount());
super.setAuthHash(getAuthHash());
super.setBanned(isBanned());
@@ -59,11 +58,6 @@ public final class AnonymousUser extends User {
}
@Override
- public String getJid() {
- return "anonym@localhost";
- }
-
- @Override
public String getAuthHash() {
return null;
}
@@ -116,10 +110,6 @@ public final class AnonymousUser extends User {
}
@Override
- public void setJid(String jid) {
- }
-
- @Override
public void setAuthHash(String authHash) {
}
diff --git a/juick-server-core/src/main/java/com/juick/service/UserService.java b/juick-server-core/src/main/java/com/juick/service/UserService.java
index 2da643d8..6ca6fb98 100644
--- a/juick-server-core/src/main/java/com/juick/service/UserService.java
+++ b/juick-server-core/src/main/java/com/juick/service/UserService.java
@@ -57,8 +57,6 @@ public interface UserService {
List<User> getUsersByID(Collection<Integer> uids);
- List<com.juick.User> getUsersByJID(Collection<String> jids);
-
List<String> getJIDsbyUID(int uid);
int getUIDbyJID(String jid);