diff options
author | xengineering <me@xengineering.eu> | 2023-07-04 22:04:05 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-07-04 22:04:05 +0200 |
commit | a23ba089a4e715e68b8c8d4179290692215784a2 (patch) | |
tree | f7c13f78ff728b9e0e59045f1709907c29c55e37 /xmpp/sasl.go | |
parent | ed6b4e818f4090c0c707fab49093bc4c3cc3ac20 (diff) | |
download | limox-a23ba089a4e715e68b8c8d4179290692215784a2.tar limox-a23ba089a4e715e68b8c8d4179290692215784a2.tar.zst limox-a23ba089a4e715e68b8c8d4179290692215784a2.zip |
Re-implement resource binding and presence
This was removed for refactoring.
Diffstat (limited to 'xmpp/sasl.go')
-rw-r--r-- | xmpp/sasl.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmpp/sasl.go b/xmpp/sasl.go index a20ae56..5fac934 100644 --- a/xmpp/sasl.go +++ b/xmpp/sasl.go @@ -10,6 +10,12 @@ type saslRequest struct { Payload []byte `xml:",chardata"` } +type saslSuccess struct {} + +func handleSaslSuccess(s *session) { + openStream(s.tx, s.jid) +} + func (s *session) sasl() { start := xml.StartElement{ xml.Name{"urn:ietf:params:xml:ns:xmpp-sasl", "auth"}, |