Don't reconnect immediately when trying the buggy server workaround, as libpurple won't have updated its state for the account.
Refs #16081
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;