changeset 17023: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 e44a272b27a8
children be967ea671bd
files libpurple/protocols/jabber/auth.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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,