# HG changeset patch # User Christian Hammond # Date 1056619634 0 # Node ID 03bf7c9057824f2872d51eda15f6c8c158abbccd # Parent 0a2a32b1917c16d6f981e4c436ca4795aca0b123 [gaim-migrate @ 6407] This should prevent incoming mobile pages from MSN-enabled devices from spitting out a bunch of error dialogs in gaim. That, or it will crash gaim. I'm really not too sure. Guess I'll find out in 0.65! committer: Tailor Script diff -r 0a2a32b1917c -r 03bf7c905782 src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Thu Jun 26 02:01:56 2003 +0000 +++ b/src/protocols/msn/notification.c Thu Jun 26 09:27:14 2003 +0000 @@ -602,6 +602,20 @@ } static gboolean +ipg_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 lsg_cmd(MsnServConn *servconn, const char *command, const char **params, size_t param_count) { @@ -1392,6 +1406,7 @@ msn_servconn_register_command(notification, "GTC", blank_cmd); msn_servconn_register_command(notification, "ILN", iln_cmd); msn_servconn_register_command(notification, "INF", inf_cmd); + msn_servconn_register_command(notification, "IPG", ipg_cmd); msn_servconn_register_command(notification, "LSG", lsg_cmd); msn_servconn_register_command(notification, "LST", lst_cmd); msn_servconn_register_command(notification, "MSG", msg_cmd);