diff libpurple/protocols/jabber/auth.c @ 17012:b713af8ae274

I changed my mind, this should display the whole account name
author Nathan Walp <nwalp@pidgin.im>
date Fri, 11 May 2007 00:33:05 +0000
parents 5f557e708335
children 97a98ceb5c06 61c5d8737f01
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c	Fri May 11 00:16:58 2007 +0000
+++ b/libpurple/protocols/jabber/auth.c	Fri May 11 00:33:05 2007 +0000
@@ -292,7 +292,7 @@
 				 */
 				} else if (!plaintext) {
 					char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
-							js->user->domain);
+							js->gc->account->username);
 					purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 							_("Plaintext Authentication"),
 							msg,
@@ -481,7 +481,7 @@
 
 		if(js->gsc == NULL && !purple_account_get_bool(js->gc->account, "auth_plain_in_clear", FALSE)) {
 			char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
-					js->user->domain);
+					js->gc->account->username);
 			purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 					_("Plaintext Authentication"),
 					msg,