diff libpurple/protocols/msn/msg.c @ 31584:cf702c6ab9e7

Getting the P2P version is probably the slplink's job, since it has the rest of the information we need, like the session, which gives us the userlist, etc.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 09 May 2011 22:56:29 +0000
parents a406398412ee
children 60d879806964 3828a61c44da aacfb71133cc
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Mon May 09 22:50:05 2011 +0000
+++ b/libpurple/protocols/msn/msg.c	Mon May 09 22:56:29 2011 +0000
@@ -864,7 +864,7 @@
 		}
 	}
 
-	p2p = msn_p2p_get_user_support(msg->remote_user);
+	p2p = msn_slplink_get_p2p_version(slplink);
 	msg->part = msn_slpmsgpart_new_from_data(p2p, msg->body, msg->body_len);
 
 	if (msg->part)