libpurple/protocols/jabber/auth_cyrus.c

changeset 41978
1771d4dda31a
parent 41967
025eee9e6f1d
--- a/libpurple/protocols/jabber/auth_cyrus.c	Wed Dec 14 01:30:45 2022 -0600
+++ b/libpurple/protocols/jabber/auth_cyrus.c	Wed Dec 14 01:43:19 2022 -0600
@@ -312,8 +312,9 @@
 				 */
 				/* XXX Should we just check for PLAIN/LOGIN being offered mechanisms? */
 				} else if (!plaintext) {
+					PurpleContactInfo *info = PURPLE_CONTACT_INFO(account);
 					char *msg = g_strdup_printf(_("%s may require plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
-							purple_account_get_username(account));
+					                            purple_contact_info_get_username(info));
 					purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 							_("Plaintext Authentication"),
 							msg,

mercurial