# HG changeset patch # User Elliott Sales de Andrade # Date 1291266185 0 # Node ID 5c2af6c30e522c5de310efe5792c55ffb351ba56 # Parent 94b3092c904d9e6547b5a274ca783b242f9c4821 The PartnerScenario in the ABContactUpdate SOAP request should probably not be Timer all the time. diff -r 94b3092c904d -r 5c2af6c30e52 libpurple/protocols/msn/contact.c --- 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); diff -r 94b3092c904d -r 5c2af6c30e52 libpurple/protocols/msn/contact.h --- a/libpurple/protocols/msn/contact.h Thu Dec 02 03:59:58 2010 +0000 +++ b/libpurple/protocols/msn/contact.h Thu Dec 02 05:03:05 2010 +0000 @@ -52,7 +52,8 @@ MSN_PS_SAVE_CONTACT, MSN_PS_PENDING_LIST, MSN_PS_CONTACT_API, - MSN_PS_BLOCK_UNBLOCK + MSN_PS_BLOCK_UNBLOCK, + MSN_PS_TIMER } MsnSoapPartnerScenario; #include "session.h" @@ -408,7 +409,7 @@ ""\ "" MSN_APPLICATION_ID ""\ "false"\ - "Timer"\ + ""\ ""\ ""\ "false"\