summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 13:09:37 +0200
committerxengineering <me@xengineering.eu>2023-06-30 13:09:37 +0200
commitc87ed02bb55a652b8908c336c3afd5635afdc1a7 (patch)
treeede5e5671740c615e7630c0963cf3e23e5ad17e4
parent8b608265772ba5df13d24071117c694bdfd1212a (diff)
downloadlimox-c87ed02bb55a652b8908c336c3afd5635afdc1a7.tar
limox-c87ed02bb55a652b8908c336c3afd5635afdc1a7.tar.zst
limox-c87ed02bb55a652b8908c336c3afd5635afdc1a7.zip
Send SASL request based on new routing
-rw-r--r--xmpp/stream_pair.go2
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!")
}