libpurple/protocols/msn/notification.c

branch
cpw.qulogic.msnp16
changeset 29448
6796411135f1
parent 29447
ecb00abe953f
child 29449
ebd102c14c0b
--- a/libpurple/protocols/msn/notification.c	Tue Dec 15 03:53:11 2009 +0000
+++ b/libpurple/protocols/msn/notification.c	Tue Dec 15 03:58:03 2009 +0000
@@ -1844,6 +1844,7 @@
 void msn_notification_send_uux_private_endpointdata(MsnSession *session)
 {
 	xmlnode *private;
+	const char *name;
 	xmlnode *epname;
 	xmlnode *idle;
 	xmlnode *client_type;
@@ -1853,9 +1854,9 @@
 
 	private = xmlnode_new("PrivateEndpointData");
 
-	/* TODO: "Pidgin" is a temp EndPointName.. we must use hostid or some.*/
+	name = purple_account_get_string(session->account, "endpoint-name", NULL);
 	epname = xmlnode_new_child(private, "EpName");
-	xmlnode_insert_data(epname, "Pidgin", -1);
+	xmlnode_insert_data(epname, name, -1);
 
 	idle = xmlnode_new_child(private, "Idle");
 	xmlnode_insert_data(idle, "false", -1);

mercurial