Ticket #6604: 6604.diff

File 6604.diff, 1.4 KB (added by khc, 9 years ago)

don't show error for autoresponse

  • libpurple/protocols/msn/msn.c

    #
    # old_revision [bc6b3fef73fc96e9d4e6f741284e11d84a4857cb]
    #
    # patch "libpurple/protocols/msn/msn.c"
    #  from [f8e681f66b852f7e33ea4840e7af340ba7263a21]
    #    to [304f2f2585ad90604f38f79870b1bced7ab5a5a6]
    # 
    # patch "libpurple/protocols/msn/switchboard.c"
    #  from [f7fce1b63dc21b75eff51c1d6aafe704c5c41439]
    #    to [66846a0fcded95cb50758426d9d572bcbad7f611]
    #
    ============================================================
    msn_send_im(PurpleConnection *gc, const  
    12091209                                uum_send_msg(session, msg);
    12101210                        } else {
    12111211                                purple_debug_info("msn", "send via switchboard\n");
     1212                                if (flags & PURPLE_MESSAGE_AUTO_RESP) {
     1213                                        msn_message_set_flag(msg, 'U');
     1214                                }
    12121215                                msn_send_im_message(session, msg);
    12131216                        }
    12141217                }
  • libpurple/protocols/msn/switchboard.c

    ============================================================
    msg_error_helper(MsnCmdProc *cmdproc, Ms 
    404404        /* This is not good, and should be fixed somewhere else. */
    405405        g_return_if_fail(swboard != NULL);
    406406
    407         if (msg->type == MSN_MSG_TEXT)
     407        if (msg->type == MSN_MSG_TEXT && msn_message_get_flag(msg) != 'U')
    408408        {
    409409                const char *format, *str_reason;
    410410                char *body_str, *body_enc, *pre, *post;
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!