Mercurial > pidgin.yaz
changeset 5960:03bf7c905782
[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 <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 26 Jun 2003 09:27:14 +0000 |
parents | 0a2a32b1917c |
children | fc8ba872a43f |
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 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);