diff libpurple/protocols/msn/contact.c @ 30986:5c2af6c30e52

The PartnerScenario in the ABContactUpdate SOAP request should probably not be Timer all the time.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 02 Dec 2010 05:03:05 +0000
parents 23be655cc688
children 05b3fa3725a1
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Thu Dec 02 03:59:58 2010 +0000
+++ b/libpurple/protocols/msn/contact.c	Thu Dec 02 05:03:05 2010 +0000
@@ -41,7 +41,8 @@
 	"ContactSave",
 	"MessengerPendingList",
 	"ContactMsgrAPI",
-	"BlockUnblock"
+	"BlockUnblock",
+	"Timer"
 };
 
 const char *MsnMemberRole[] =
@@ -1497,6 +1498,10 @@
 	xmlnode_insert_child(contact, contact_info);
 	xmlnode_insert_child(contact, changes);
 
+	xmlnode_insert_data(xmlnode_get_child(state->body,
+	                                      "Header/ABApplicationHeader/PartnerScenario"),
+	                    MsnSoapPartnerScenarioText[MSN_PS_SAVE_CONTACT], -1);
+
 	if (user) {
 		xmlnode *contactId = xmlnode_new_child(contact, "contactId");
 		msn_callback_state_set_uid(state, user->uid);