Mercurial > pidgin
changeset 30852:a868ef4099aa
Do not send the extended caps when using msnp < 16.
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 07 Jul 2010 21:26:08 +0000 |
parents | 3f2c184f24b9 |
children | c7fa7c7aca7d |
files | libpurple/protocols/msn/notification.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Wed Jul 07 21:25:38 2010 +0000 +++ b/libpurple/protocols/msn/notification.c Wed Jul 07 21:26:08 2010 +0000 @@ -1812,7 +1812,10 @@ 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);