diff options
author | Vitaly Takmazov | 2018-01-30 16:16:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-01-30 16:16:06 +0300 |
commit | 2a4725b5d96080a315587e259a758fcbc2670914 (patch) | |
tree | 629a0b67a6a36bab5ccca45d5e9bc16eff2b90ba /juick-xmpp | |
parent | d8e8dfef78359461fa49ab14304876a35049f364 (diff) |
xmpp: fix logoff cleanup
Diffstat (limited to 'juick-xmpp')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | 2 |
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(); |