diff options
author | xengineering <me@xengineering.eu> | 2023-06-30 13:09:37 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-06-30 13:09:37 +0200 |
commit | c87ed02bb55a652b8908c336c3afd5635afdc1a7 (patch) | |
tree | ede5e5671740c615e7630c0963cf3e23e5ad17e4 | |
parent | 8b608265772ba5df13d24071117c694bdfd1212a (diff) | |
download | limox-c87ed02bb55a652b8908c336c3afd5635afdc1a7.tar limox-c87ed02bb55a652b8908c336c3afd5635afdc1a7.tar.zst limox-c87ed02bb55a652b8908c336c3afd5635afdc1a7.zip |
Send SASL request based on new routing
-rw-r--r-- | xmpp/stream_pair.go | 2 |
1 files changed, 1 insertions, 1 deletions
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!") } |