summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-07-04 21:48:23 +0200
committerxengineering <me@xengineering.eu>2023-07-04 21:48:23 +0200
commited6b4e818f4090c0c707fab49093bc4c3cc3ac20 (patch)
tree231c03f2e756aacc2c9caead75cfde5129c38094
parent2c71877e392da6c2691827160142e95142f7bea6 (diff)
downloadlimox-ed6b4e818f4090c0c707fab49093bc4c3cc3ac20.tar
limox-ed6b4e818f4090c0c707fab49093bc4c3cc3ac20.tar.zst
limox-ed6b4e818f4090c0c707fab49093bc4c3cc3ac20.zip
Add namespace to streamFeatures struct
This prevents collisions.
-rw-r--r--xmpp/streams.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/streams.go b/xmpp/streams.go
index 8f6fd03..b9cd4cd 100644
--- a/xmpp/streams.go
+++ b/xmpp/streams.go
@@ -6,7 +6,7 @@ import (
)
type streamFeatures struct {
- SaslMechanisms []string `xml:"mechanisms>mechanism"`
+ SaslMechanisms []string `xml:"urn:ietf:params:xml:ns:xmpp-sasl mechanisms>mechanism"`
}
func handleStreamFeatures(s *session, f streamFeatures) {