From c87ed02bb55a652b8908c336c3afd5635afdc1a7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 30 Jun 2023 13:09:37 +0200 Subject: Send SASL request based on new routing --- xmpp/stream_pair.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp/stream_pair.go b/xmpp/stream_pair.go index 8ec06a6..5674d7b 100644 --- a/xmpp/stream_pair.go +++ b/xmpp/stream_pair.go @@ -94,7 +94,7 @@ func closeStream(s *session) { func streamFeaturesHandler(s *session, e []xml.Token) { sasl := hasSaslPlain(e) if sasl { - log.Println("Stream is compatible with SASL PLAIN mechanism") + s.sasl() } else { log.Println("Stream is not compatible with SASL PLAIN mechanism!") } -- cgit v1.2.3-70-g09d2