changeset 5961:fc8ba872a43f

[gaim-migrate @ 6408] Same deal with the MSN Alerts. Standard disclaimer, might crash, eat babies, blah blah blah. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 26 Jun 2003 09:39:21 +0000
parents 03bf7c905782
children 115769a4c6fc
files src/protocols/msn/notification.c
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Thu Jun 26 09:27:14 2003 +0000
+++ b/src/protocols/msn/notification.c	Thu Jun 26 09:39:21 2003 +0000
@@ -823,6 +823,20 @@
 }
 
 static gboolean
+not_cmd(MsnServConn *servconn, const char *command, const char **params,
+		size_t param_count)
+{
+	GaimConnection *gc = servconn->session->account->gc;
+
+	servconn->parsing_msg  = TRUE;
+	servconn->msg_passport = NULL;
+	servconn->msg_friendly = NULL;
+	servconn->msg_len      = atoi(params[0]);
+
+	return TRUE;
+}
+
+static gboolean
 prp_cmd(MsnServConn *servconn, const char *command, const char **params,
 		size_t param_count)
 {
@@ -1411,6 +1425,7 @@
 		msn_servconn_register_command(notification, "LST",       lst_cmd);
 		msn_servconn_register_command(notification, "MSG",       msg_cmd);
 		msn_servconn_register_command(notification, "NLN",       nln_cmd);
+		msn_servconn_register_command(notification, "NOT",       not_cmd);
 		msn_servconn_register_command(notification, "OUT",       out_cmd);
 		msn_servconn_register_command(notification, "PRP",       prp_cmd);
 		msn_servconn_register_command(notification, "QNG",       blank_cmd);