# HG changeset patch # User Christian Hammond # Date 1052374969 0 # Node ID bbf2141d30d082228d28df55e3a0f0ce2d08c116 # Parent bbbf616bd924dabf55e266553b3bb9450cd637f2 [gaim-migrate @ 5709] Ignore error 225, "User not in group." The users don't care. committer: Tailor Script diff -r bbbf616bd924 -r bbf2141d30d0 src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Thu May 08 06:14:16 2003 +0000 +++ b/src/protocols/msn/notification.c Thu May 08 06:22:49 2003 +0000 @@ -112,10 +112,24 @@ { char buf[MSN_BUF_LEN]; - g_snprintf(buf, sizeof(buf), "MSN Error: %s\n", - (isdigit(*command) - ? msn_error_get_text(atoi(command)) - : "Unable to parse message.")); + if (isdigit(*command)) { + int errnum = atoi(command); + + if (errnum == 225) { + /* + * Ignore this. It happens as a result of moving a buddy from + * one group that isn't on the server to another that is. + * The user doesn't care if the old group was there or not. + */ + return TRUE; + } + + g_snprintf(buf, sizeof(buf), "MSN Error: %s\n", + msn_error_get_text(errnum)); + } + else { + g_snprintf(buf, sizeof(buf), "MSN Error: Unable to parse message\n"); + } do_error_dialog(buf, NULL, GAIM_ERROR);