Implement session establishment, which is required if the server
advertises it. Fixes bugs relating to not-authorized errors on XMPP compliant servers.
This commit is contained in:
@@ -161,6 +161,10 @@ struct _xmpp_conn_t {
|
||||
int sasl_support; /* if true, field is a bitfield of supported
|
||||
mechanisms */
|
||||
|
||||
/* if server returns <bind/> or <session/> we must do them */
|
||||
int bind_required;
|
||||
int session_required;
|
||||
|
||||
char *lang;
|
||||
char *domain;
|
||||
char *jid;
|
||||
|
||||
Reference in New Issue
Block a user