summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmpp/router.go1
-rw-r--r--xmpp/sasl.go3
2 files changed, 4 insertions, 0 deletions
diff --git a/xmpp/router.go b/xmpp/router.go
index bd619b4..84256bb 100644
--- a/xmpp/router.go
+++ b/xmpp/router.go
@@ -23,6 +23,7 @@ type routingTable []struct {
func getRoutingTable() routingTable {
return routingTable{
{xml.Name{`http://etherx.jabber.org/streams`, `features`}, streamFeaturesHandler},
+ {xml.Name{`urn:ietf:params:xml:ns:xmpp-sasl`, `success`}, saslSuccessHandler},
}
}
diff --git a/xmpp/sasl.go b/xmpp/sasl.go
index e460f5e..62c312f 100644
--- a/xmpp/sasl.go
+++ b/xmpp/sasl.go
@@ -64,3 +64,6 @@ func hasSaslPlain(e []xml.Token) bool {
return false
}
+
+func saslSuccessHandler(s *session, e []xml.Token) {
+}