aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java')
-rw-r--r--juick-server/src/main/java/com/juick/server/XMPPBot.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPBot.java b/juick-server/src/main/java/com/juick/server/XMPPBot.java
index c29fa188..e9eacdd7 100644
--- a/juick-server/src/main/java/com/juick/server/XMPPBot.java
+++ b/juick-server/src/main/java/com/juick/server/XMPPBot.java
@@ -99,10 +99,7 @@ public class XMPPBot implements StanzaListener, AutoCloseable {
com.juick.Message msg = event.getMessage();
if (msg.getRid() == 0 && msg.getMid() > 0) {
String notify = "New message posted.\n#" + msg.getMid() + " https://juick.com/" + msg.getMid();
- List<String> activeJids = userService.getActiveJIDs();
userService.getJIDsbyUID(msg.getUser().getUid())
- .stream()
- .filter(activeJids::contains)
.forEach(jid -> sendReply(Jid.of(jid), notify));
}
};