From 04f24e0dade8caf029cb78d3281b3587a8362cbe Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 30 Jun 2023 13:22:15 +0200 Subject: Rework and apply stream nesting on SASL success If SASL authentication is successful a new stream has to be opened by the client. This is implemented with this commit. --- xmpp/sasl.go | 1 + 1 file changed, 1 insertion(+) (limited to 'xmpp/sasl.go') diff --git a/xmpp/sasl.go b/xmpp/sasl.go index 62c312f..23e8f3f 100644 --- a/xmpp/sasl.go +++ b/xmpp/sasl.go @@ -66,4 +66,5 @@ func hasSaslPlain(e []xml.Token) bool { } func saslSuccessHandler(s *session, e []xml.Token) { + runStreamPair(s) } -- cgit v1.2.3-70-g09d2