equal
deleted
inserted
replaced
50 cl.saslDigest2(srvMap) |
50 cl.saslDigest2(srvMap) |
51 } |
51 } |
52 case "failure": |
52 case "failure": |
53 Info.Log("SASL authentication failed") |
53 Info.Log("SASL authentication failed") |
54 case "success": |
54 case "success": |
|
55 cl.setStatus(StatusAuthenticated) |
55 Info.Log("Sasl authentication succeeded") |
56 Info.Log("Sasl authentication succeeded") |
56 cl.Features = nil |
57 cl.Features = nil |
57 ss := &stream{To: cl.Jid.Domain, Version: XMPPVersion} |
58 ss := &stream{To: cl.Jid.Domain, Version: XMPPVersion} |
58 cl.sendXml <- ss |
59 cl.sendXml <- ss |
59 } |
60 } |