diff 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
line wrap: on
line diff
--- a/src/protocols/msn/msg.c	Sun Aug 21 17:01:43 2005 +0000
+++ b/src/protocols/msn/msg.c	Sun Aug 21 17:14:22 2005 +0000
@@ -154,6 +154,20 @@
 	return msg;
 }
 
+MsnMessage *
+msn_message_new_nudge(void)
+{
+	MsnMessage *msg;
+
+	msg = msn_message_new(MSN_MSG_NUDGE);
+	msn_message_set_content_type(msg, "text/x-msnmsgr-datacast\r\n");
+	msn_message_set_flag(msg, 'N');
+	msn_message_set_attr(msg,"ID","1\r\n");
+	//msn_message_set_bin_data(msg, "\r\n\r\n", 4);
+
+	return msg;
+}
+
 void
 msn_message_parse_slp_body(MsnMessage *msg, const char *body, size_t len)
 {