From 30920154fde5a849edf5554801b585e80c9f03f2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 30 Jul 2018 14:19:37 +0300 Subject: xmpp: set stream authenticated after dialback verify --- juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java | 1 + 1 file changed, 1 insertion(+) diff --git a/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java b/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java index 414c6d8b..c635bff6 100644 --- a/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java +++ b/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java @@ -207,6 +207,7 @@ public class ConnectionIn extends Connection implements Runnable { if (type.equals("valid")) { from.add(sfrom); logger.debug("stream from {} {} ready", sfrom, streamID); + setAuthenticated(true); } } -- cgit v1.2.3