diff libpurple/protocols/msn/slpmsg.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 5a6c5a4f1aea
children 867104ed576a
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c	Mon May 09 22:50:05 2011 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Mon May 09 22:56:29 2011 +0000
@@ -49,7 +49,7 @@
 	msn_slpmsg_set_slplink(slpmsg, slplink);
 	slpmsg->slpcall = slpcall;
 
-	p2p = msn_p2p_get_user_support(slplink->remote_user);
+	p2p = msn_slplink_get_p2p_version(slplink);
 	slpmsg->p2p_info = msn_p2p_info_new(p2p);
 
 	return slpmsg;