summaryrefslogtreecommitdiff
path: root/xmpp/stream_pair.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 14:32:58 +0200
committerxengineering <me@xengineering.eu>2023-06-30 15:30:27 +0200
commit62a17dd6584009cad58fceee6b1ada74edf1d38f (patch)
treeb4c6c833179ff92662efbd352dc66fc9884c8ca0 /xmpp/stream_pair.go
parentdd1cb9c23392d4d43198d60879fecf61fe4503b7 (diff)
downloadlimox-62a17dd6584009cad58fceee6b1ada74edf1d38f.tar
limox-62a17dd6584009cad58fceee6b1ada74edf1d38f.tar.zst
limox-62a17dd6584009cad58fceee6b1ada74edf1d38f.zip
Implement resource binding request
This is the first step of resource binding which is a mandatory part of establishing an XMPP connection.
Diffstat (limited to 'xmpp/stream_pair.go')
-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 9be880f..4690f57 100644
--- a/xmpp/stream_pair.go
+++ b/xmpp/stream_pair.go
@@ -99,7 +99,7 @@ func streamFeaturesHandler(s *session, e []xml.Token) {
}
if hasBind(e) {
- log.Println("Stream supports ressource binding")
+ s.sendBind()
return
}