diff options
author | xengineering <me@xengineering.eu> | 2023-07-04 21:48:23 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-07-04 21:48:23 +0200 |
commit | ed6b4e818f4090c0c707fab49093bc4c3cc3ac20 (patch) | |
tree | 231c03f2e756aacc2c9caead75cfde5129c38094 | |
parent | 2c71877e392da6c2691827160142e95142f7bea6 (diff) | |
download | limox-ed6b4e818f4090c0c707fab49093bc4c3cc3ac20.tar limox-ed6b4e818f4090c0c707fab49093bc4c3cc3ac20.tar.zst limox-ed6b4e818f4090c0c707fab49093bc4c3cc3ac20.zip |
Add namespace to streamFeatures struct
This prevents collisions.
-rw-r--r-- | xmpp/streams.go | 2 |
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) { |