Slight change to the way we offer XMPP stream features.
authorArt Cancro <ajc@citadel.org>
Thu, 29 Nov 2007 15:52:18 +0000 (15:52 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 29 Nov 2007 15:52:18 +0000 (15:52 +0000)
commit35e6afce32087ba90924eb1ed1105197161c3b7b
treee4c2b0d7084e9f6b551ebc5ec21eff7ae7c1858d
parent28a19c03d48cd359c23daf22c7a465fe067229d6
Slight change to the way we offer XMPP stream features.
Before authentication, the only feature we offer is SASL, implying to
the client that the only thing it is allowed to do is log in.  After
a successful SASL authentication, which causes the XMPP stream to be
restarted, the features we offer are sessions and binding, but not
SASL.  This allows clients to initialize in the correct sequence and
guarantees that we will have an email address to use in the JID.
citadel/modules/jabber/serv_xmpp.c