cpw.qulogic.msnp16: d8e8a3b3: applied changes from cc2567c1558bffb058f...

qulogic at pidgin.im qulogic at pidgin.im
Sat Jul 31 20:10:28 EDT 2010


----------------------------------------------------------------------
Revision: d8e8a3b3ec17b199432993002327e4ecf156d12b
Parent:   fcd3ab4963faece2e14447025afb7d6061e12e8b
Author:   qulogic at pidgin.im
Date:     07/31/10 20:08:26
Branch:   im.pidgin.cpw.qulogic.msnp16
URL: http://d.pidgin.im/viewmtn/revision/info/d8e8a3b3ec17b199432993002327e4ecf156d12b

Changelog: 

applied changes from cc2567c1558bffb058fda6a6319faf70206a8c34
             through 66d24d59ff5f0bbb624616fad1519de153eeb3cd

Changes against parent fcd3ab4963faece2e14447025afb7d6061e12e8b

  patched  libpurple/protocols/msn/notification.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	3822841d74767b9039ca967b1633ea799fd55749
+++ libpurple/protocols/msn/notification.c	927ecc78d96683fe305a87c2607474577ca5c0da
@@ -1807,7 +1807,10 @@ void msn_notification_send_uux_endpointd
 	epDataNode = xmlnode_new("EndpointData");
 
 	capNode = xmlnode_new_child(epDataNode, "Capabilities");
-	caps = g_strdup_printf("%d:%02d", MSN_CLIENT_ID_CAPABILITIES, MSN_CLIENT_ID_EXT_CAPS);
+	if (session->protocol_ver >= 16)
+		caps = g_strdup_printf("%d:%02d", MSN_CLIENT_ID_CAPABILITIES, MSN_CLIENT_ID_EXT_CAPS);
+	else
+		caps = g_strdup_printf("%d", MSN_CLIENT_ID_CAPABILITIES);
 	xmlnode_insert_data(capNode, caps, -1);
 	g_free(caps);
 


More information about the Commits mailing list