aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-01-30 16:16:06 +0300
committerGravatar Vitaly Takmazov2018-01-30 16:16:06 +0300
commit2a4725b5d96080a315587e259a758fcbc2670914 (patch)
tree629a0b67a6a36bab5ccca45d5e9bc16eff2b90ba /juick-xmpp/src/main/java/com
parentd8e8dfef78359461fa49ab14304876a35049f364 (diff)
xmpp: fix logoff cleanup
Diffstat (limited to 'juick-xmpp/src/main/java/com')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/XMPPServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java
index c57ed58e..6206914b 100644
--- a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java
+++ b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java
@@ -146,7 +146,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable {
}
outConnections.forEach((c, s) -> {
c.logoff();
- outConnections.remove(s);
+ outConnections.remove(c);
});
inConnections.forEach(c -> {
c.closeConnection();