libpurple/protocols/gg/message-prpl.c

changeset 41979
31c32b8d4bef
parent 41091
fa2d6b0a4912
child 42048
8d4a5f33faa8
--- a/libpurple/protocols/gg/message-prpl.c	Wed Dec 14 01:43:19 2022 -0600
+++ b/libpurple/protocols/gg/message-prpl.c	Wed Dec 14 01:53:47 2022 -0600
@@ -240,12 +240,14 @@
 	} else if (msg->type == GGP_MESSAGE_GOT_TYPE_MULTILOGON) {
 		GDateTime *dt = NULL;
 		PurpleAccount *account = NULL;
+		PurpleContactInfo *info = NULL;
 		PurpleConversation *im = ggp_message_get_conv(gc, msg->user);
 		PurpleMessage *pmsg;
 		const gchar *me = NULL;
 
 		account = purple_connection_get_account(gc);
-		me = purple_account_get_name_for_display(account);
+		info = PURPLE_CONTACT_INFO(account);
+		me = purple_contact_info_get_name_for_display(info);
 
 		pmsg = purple_message_new_outgoing(me, NULL, msg->text, 0);
 

mercurial