aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/xmpp
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-30 14:19:37 +0300
committerGravatar Vitaly Takmazov2018-07-30 14:19:37 +0300
commit30920154fde5a849edf5554801b585e80c9f03f2 (patch)
tree3cec760b32269056ccadf1a26efa12073c898498 /juick-server/src/main/java/com/juick/server/xmpp
parent8fa1933bc16dd584fe36c08f5ab2da68372b3611 (diff)
xmpp: set stream authenticated after dialback verify
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/xmpp')
-rw-r--r--juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java1
1 files changed, 1 insertions, 0 deletions
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);
}
}