changeset 29917:af5a46ecfb24

merge of '52fb5cb4cd8795906a7313dd5edde763a4848a3e' and '884d44222e8c81ecec51c25e07d005e002a5479b'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 12 May 2010 05:15:44 +0000
parents 94c380160595 (diff) a40c55113f7d (current diff)
children e63ea24aa291
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Wed May 12 04:26:46 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Wed May 12 05:15:44 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;