Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/contact.h @ 27564:3698c7f4d803
On MSN, pop up an "invite message" request similar to oscar, and send that
in the add request. We really should try and move this into the add buddy
dialog instead of an extra prompt.
Fixes #8503.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 13 Jul 2009 05:01:42 +0000 |
parents | 7ea04b53f553 |
children | 867b4cdc01bf |
comparison
equal
deleted
inserted
replaced
27563:7a2891487a00 | 27564:3698c7f4d803 |
---|---|
230 "</ContactEmail>"\ | 230 "</ContactEmail>"\ |
231 "</emails>"\ | 231 "</emails>"\ |
232 "</contactInfo>"\ | 232 "</contactInfo>"\ |
233 "</Contact>" | 233 "</Contact>" |
234 | 234 |
235 #define MSN_CONTACT_INVITE_MESSAGE_XML \ | |
236 "<MessengerMemberInfo>"\ | |
237 "<PendingAnnotations>"\ | |
238 "<Annotation>"\ | |
239 "<Name>MSN.IM.InviteMessage</Name>"\ | |
240 "<Value>%s</Value>"\ | |
241 "</Annotation>"\ | |
242 "</PendingAnnotations>"\ | |
243 "<DisplayName>%s</DisplayName>"\ | |
244 "</MessengerMemberInfo>" | |
245 | |
235 #define MSN_ADD_CONTACT_TEMPLATE "<?xml version=\"1.0\" encoding=\"utf-8\"?>"\ | 246 #define MSN_ADD_CONTACT_TEMPLATE "<?xml version=\"1.0\" encoding=\"utf-8\"?>"\ |
236 "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\""\ | 247 "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\""\ |
237 " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""\ | 248 " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""\ |
238 " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""\ | 249 " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""\ |
239 " xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\">"\ | 250 " xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\">"\ |
288 "<contacts>%s</contacts>"\ | 299 "<contacts>%s</contacts>"\ |
289 "<groupContactAddOptions>"\ | 300 "<groupContactAddOptions>"\ |
290 "<fGenerateMissingQuickName>true</fGenerateMissingQuickName>"\ | 301 "<fGenerateMissingQuickName>true</fGenerateMissingQuickName>"\ |
291 "<EnableAllowListManagement>true</EnableAllowListManagement>"\ | 302 "<EnableAllowListManagement>true</EnableAllowListManagement>"\ |
292 "</groupContactAddOptions>"\ | 303 "</groupContactAddOptions>"\ |
304 "%s"\ | |
293 "</ABGroupContactAdd>"\ | 305 "</ABGroupContactAdd>"\ |
294 "</soap:Body>"\ | 306 "</soap:Body>"\ |
295 "</soap:Envelope>" | 307 "</soap:Envelope>" |
296 | 308 |
297 /* Delete a contact from the Contact List */ | 309 /* Delete a contact from the Contact List */ |