Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/oim.h @ 23492:72aa2ccad28d
fix sending offline message in p15 by sending the correct token. In msnp14,
we send the main login token (I realize I may be making up some of the terms
here), in p15, we send the one for messengersecure.live.com
some refactoring also
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Wed, 26 Dec 2007 01:22:00 +0000 |
parents | 75be80ddeca5 |
children | b268fc2c9121 |
comparison
equal
deleted
inserted
replaced
23491:f1f5efd679a4 | 23492:72aa2ccad28d |
---|---|
79 #define MSN_OIM_SEND_URL "/OimWS/oim.asmx" | 79 #define MSN_OIM_SEND_URL "/OimWS/oim.asmx" |
80 #define MSN_OIM_SEND_SOAP_ACTION "http://messenger.live.com/ws/2006/09/oim/Store2" | 80 #define MSN_OIM_SEND_SOAP_ACTION "http://messenger.live.com/ws/2006/09/oim/Store2" |
81 #define MSN_OIM_SEND_TEMPLATE "<?xml version=\"1.0\" encoding=\"utf-8\"?>"\ | 81 #define MSN_OIM_SEND_TEMPLATE "<?xml version=\"1.0\" encoding=\"utf-8\"?>"\ |
82 "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"\ | 82 "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"\ |
83 "<soap:Header>"\ | 83 "<soap:Header>"\ |
84 "<From memberName=\"%s\" friendlyName=\"%s\" xml:lang=\"en-US\" proxy=\"MSNMSGR\" xmlns=\"http://messenger.msn.com/ws/2004/09/oim/\" msnpVer=\"MSNP14\" buildVer=\"8.0.0792\"/>"\ | 84 "<From memberName=\"%s\" friendlyName=\"%s\" xml:lang=\"en-US\" proxy=\"MSNMSGR\" xmlns=\"http://messenger.msn.com/ws/2004/09/oim/\" msnpVer=\"MSNP15\" buildVer=\"8.1.0178\"/>"\ |
85 "<To memberName=\"%s\" xmlns=\"http://messenger.msn.com/ws/2004/09/oim/\"/>"\ | 85 "<To memberName=\"%s\" xmlns=\"http://messenger.msn.com/ws/2004/09/oim/\"/>"\ |
86 "<Ticket passport=\"%s\" appid=\"%s\" lockkey=\"%s\" xmlns=\"http://messenger.msn.com/ws/2004/09/oim/\"/>"\ | 86 "<Ticket passport=\"%s\" appid=\"%s\" lockkey=\"%s\" xmlns=\"http://messenger.msn.com/ws/2004/09/oim/\"/>"\ |
87 "<Sequence xmlns=\"http://schemas.xmlsoap.org/ws/2003/03/rm\">"\ | 87 "<Sequence xmlns=\"http://schemas.xmlsoap.org/ws/2003/03/rm\">"\ |
88 "<Identifier xmlns=\"http://schemas.xmlsoap.org/ws/2002/07/utility\">http://messenger.msn.com</Identifier>"\ | 88 "<Identifier xmlns=\"http://schemas.xmlsoap.org/ws/2002/07/utility\">http://messenger.msn.com</Identifier>"\ |
89 "<MessageNumber>%d</MessageNumber>"\ | 89 "<MessageNumber>%d</MessageNumber>"\ |