libpurple/protocols/jabber/auth.c

changeset 41903
27f355b8b497
parent 41850
7d551859bd94
child 41967
025eee9e6f1d
--- a/libpurple/protocols/jabber/auth.c	Mon Nov 07 23:28:31 2022 -0600
+++ b/libpurple/protocols/jabber/auth.c	Mon Nov 07 23:29:57 2022 -0600
@@ -173,11 +173,6 @@
 	JabberSaslState state;
 	char *msg = NULL;
 
-	if(js->registration) {
-		jabber_register_start(js);
-		return;
-	}
-
 	mechs = purple_xmlnode_get_child(packet, "mechanisms");
 	if(!mechs) {
 		purple_connection_error(js->gc,
@@ -390,11 +385,6 @@
 		return;
 	}
 
-	if (js->registration) {
-		jabber_register_start(js);
-		return;
-	}
-
 	/*
 	 * IQ Auth doesn't have support for resource binding, so we need to pick a
 	 * default resource so it will work properly.  jabberd14 throws an error and

mercurial