diff options
author | Vitaly Takmazov | 2018-06-04 00:40:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-06-04 00:40:48 +0300 |
commit | 0bc0eb15e3eaa279d65ff67f4000665df8b8f8d2 (patch) | |
tree | 0a87d243702564f6433201d5882171c46d4456fd /juick-server/src | |
parent | df9123eae0c3eaf637e7ac2622096459c42774c0 (diff) |
do not mark server as inactive when dialback exception thrown
Diffstat (limited to 'juick-server/src')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPServer.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPServer.java b/juick-server/src/main/java/com/juick/server/XMPPServer.java index 1ae2bbdf..e2018213 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPServer.java +++ b/juick-server/src/main/java/com/juick/server/XMPPServer.java @@ -247,11 +247,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { addConnectionOut(connectionOut, Optional.of(socket)); connectionOut.connect(); } catch (IOException e) { - userService.getActiveJIDs().stream().filter(j -> Jid.of(j).getDomain().equals(to)) - .forEach(j -> { - userService.setActiveStatusForJID(j, UserService.ActiveStatus.Inactive); - logger.info("{} is inactive now", j); - }); + logger.info("dialback to " + to + " exception", e); } }); } |