Forgot to specify that the application shouldn't reconnect when no encryption is available on the server but the user has asked to require it.

Sun, 16 Sep 2007 00:00:22 +0000

author
Andreas Monitzer <am@adiumx.com>
date
Sun, 16 Sep 2007 00:00:22 +0000
changeset 20332
71e22ca0f0c5
parent 20329
0646ef814a74
child 20336
bfcf14861801

Forgot to specify that the application shouldn't reconnect when no encryption is available on the server but the user has asked to require it.

libpurple/protocols/jabber/jabber.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/jabber.c	Sat Sep 15 23:47:05 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sun Sep 16 00:00:22 2007 +0000
@@ -141,6 +141,7 @@
 		if(jabber_process_starttls(js, packet))
 			return;
 	} else if(purple_account_get_bool(js->gc->account, "require_tls", FALSE) && !js->gsc) {
+		js->gc->wants_to_die = TRUE;
 		purple_connection_error(js->gc, _("You require encryption, but it is not available on this server."));
 		return;
 	}

mercurial