Properly set XMPP connection errors.

Mon, 06 Jun 2022 21:22:16 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 06 Jun 2022 21:22:16 -0500
changeset 41426
d5efa0f7282f
parent 41425
f0e990f20f09
child 41427
a91d4fc763f4

Properly set XMPP connection errors.

This fixes a regression from /r/1358/.

Testing Done:
Connected and disconnected an XMPP account. Made sure the account was connected, then quit and relaunched, saw an error about signing in from another location, but then it reconnected properly.

Reviewed at https://reviews.imfreedom.org/r/1491/

libpurple/protocols/jabber/jabber.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/jabber.c	Sat Jun 04 04:10:44 2022 -0500
+++ b/libpurple/protocols/jabber/jabber.c	Mon Jun 06 21:22:16 2022 -0500
@@ -702,6 +702,9 @@
 		purple_connection_error(js->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 		                        _("Unable to connect"));
 
+		purple_connection_error(js->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
+		                        _("Unable to connect"));
+
 		return;
 	}
 

mercurial