aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-core/src/main')
-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);