- Timestamp:
- 2011-12-07T21:47:25Z (13 years ago)
- Branches:
- master
- Children:
- 57da960
- Parents:
- aee8c19
- Location:
- protocols/jabber
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
raee8c19 r06b5893 212 212 this is an old server that can't do SASL 213 213 authentication. */ 214 if( !s asl_supported( ic ) )214 if( !set_getbool( &ic->acc->set, "sasl") || !sasl_supported( ic ) ) 215 215 { 216 216 /* If there's no version= tag, we suppose … … 375 375 other way. jabber.com doesn't seem to do SASL while it pretends 376 376 to be XMPP 1.0 compliant! */ 377 else if( !( jd->flags & JFLAG_AUTHENTICATED ) && s asl_supported( ic ) )377 else if( !( jd->flags & JFLAG_AUTHENTICATED ) && set_getbool( &ic->acc->set, "sasl") && sasl_supported( ic ) ) 378 378 { 379 379 if( !jabber_init_iq_auth( ic ) ) -
protocols/jabber/jabber.c
raee8c19 r06b5893 82 82 s->flags |= ACC_SET_OFFLINE_ONLY; 83 83 84 s = set_add( &acc->set, "sasl", "true", set_eval_bool, acc ); 85 s->flags |= ACC_SET_OFFLINE_ONLY | SET_HIDDEN_DEFAULT; 86 84 87 s = set_add( &acc->set, "user_agent", "BitlBee", NULL, acc ); 85 88
Note: See TracChangeset
for help on using the changeset viewer.