comparison src/protocols/msn/msg.c @ 11321:95fa774d216d

[gaim-migrate @ 13525] Kill off the conversation closed notices Fix for setting the ACK id on slpmsg ACKs which might improve things for other clients (see bug #1222320) Clean up some debugging stuff Add support for sending and receiving Nudges (Based on patch #1169352) Add an account action to go direct to a Hotmail Inbox committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 21 Aug 2005 17:14:22 +0000
parents 5ea38c98ff30
children 162dd2f8ad92
comparison
equal deleted inserted replaced
11320:d3b567926e8f 11321:95fa774d216d
152 msn_message_set_content_type(msg, "application/x-msnmsgrp2p"); 152 msn_message_set_content_type(msg, "application/x-msnmsgrp2p");
153 153
154 return msg; 154 return msg;
155 } 155 }
156 156
157 MsnMessage *
158 msn_message_new_nudge(void)
159 {
160 MsnMessage *msg;
161
162 msg = msn_message_new(MSN_MSG_NUDGE);
163 msn_message_set_content_type(msg, "text/x-msnmsgr-datacast\r\n");
164 msn_message_set_flag(msg, 'N');
165 msn_message_set_attr(msg,"ID","1\r\n");
166 //msn_message_set_bin_data(msg, "\r\n\r\n", 4);
167
168 return msg;
169 }
170
157 void 171 void
158 msn_message_parse_slp_body(MsnMessage *msg, const char *body, size_t len) 172 msn_message_parse_slp_body(MsnMessage *msg, const char *body, size_t len)
159 { 173 {
160 MsnSlpHeader header; 174 MsnSlpHeader header;
161 const char *tmp; 175 const char *tmp;