Don't reconnect immediately when trying the buggy server workaround, as libpurple won't have updated its state for the account. adium-1.5.4
authorThijs Alkemade <thijsalkemade@gmail.com>
Wed, 17 Oct 2012 11:04:23 +0200
branchadium-1.5.4
changeset 5121276b23354bd1
parent 5120 7118d14f1a55
child 5122 c71efc20cc2a
Don't reconnect immediately when trying the buggy server workaround, as libpurple won't have updated its state for the account.

Refs #16081
Plugins/Purple Service/ESPurpleJabberAccount.m
     1.1 --- a/Plugins/Purple Service/ESPurpleJabberAccount.m	Wed Oct 17 01:11:38 2012 +0200
     1.2 +++ b/Plugins/Purple Service/ESPurpleJabberAccount.m	Wed Oct 17 11:04:23 2012 +0200
     1.3 @@ -503,7 +503,7 @@
     1.4  	else if (purple_account_get_bool([self purpleAccount],PURPLE_SSL_CDSA_BUGGY_TLS_WORKAROUND,false) &&
     1.5  			 [*disconnectionError isEqualToString:[NSString stringWithUTF8String:_("SSL Handshake Failed")]]) {
     1.6  		AILog(@"%@: Reconnecting immediately to try to work around buggy TLS stacks",self);
     1.7 -		shouldAttemptReconnect = AIReconnectImmediately;
     1.8 +		shouldAttemptReconnect = AIReconnectNormally;
     1.9  	}
    1.10  #endif
    1.11  	return shouldAttemptReconnect;