changeset 29918:e63ea24aa291

merge of '17fcb3e7ac74579122bb5259359cef56f5bbf713' and 'b721192f0b7c409b2f6d8829fc79087ee7587bfb'
author Paul Aurich <paul@darkrain42.org>
date Wed, 12 May 2010 05:21:47 +0000
parents af5a46ecfb24 (diff) 097569720d68 (current diff)
children 716d6bb38829
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Wed May 12 05:21:19 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Wed May 12 05:21:47 2010 +0000
@@ -383,6 +383,7 @@
 msn_slplink_release_slpmsg(MsnSlpLink *slplink, MsnSlpMessage *slpmsg)
 {
 	MsnMessage *msg;
+	const char *passport;
 
 	slpmsg->msg = msg = msn_message_new_msnslp();
 
@@ -421,7 +422,8 @@
 
 	msg->msnslp_header.total_size = slpmsg->size;
 
-	msn_message_set_attr(msg, "P2P-Dest", slplink->remote_user);
+	passport = purple_normalize(slplink->session->account, slplink->remote_user);
+	msn_message_set_attr(msg, "P2P-Dest", passport);
 
 	msg->ack_cb = msg_ack;
 	msg->nak_cb = msg_nak;