xmpp/sasl.go
changeset 153 bbd4166df95d
parent 150 fa7f6ff10c67
child 163 3f891f7fe817
--- a/xmpp/sasl.go	Sun Sep 22 17:43:34 2013 -0500
+++ b/xmpp/sasl.go	Sat Sep 28 13:02:17 2013 -0600
@@ -52,6 +52,7 @@
 	case "failure":
 		Info.Log("SASL authentication failed")
 	case "success":
+		cl.setStatus(StatusAuthenticated)
 		Info.Log("Sasl authentication succeeded")
 		cl.Features = nil
 		ss := &stream{To: cl.Jid.Domain, Version: XMPPVersion}