# HG changeset patch # User Eric Warmenhoven # Date 976786552 0 # Node ID f44bcae47188b9bc450a18a967a63260569a60cc # Parent b0bd82cce5e161f9787cb35ec796fe4d223f9ebc [gaim-migrate @ 1273] don't double-escape away messages when sent in toc. what the hell was is_idle? committer: Tailor Script diff -r b0bd82cce5e1 -r f44bcae47188 src/server.c --- a/src/server.c Thu Dec 14 09:06:59 2000 +0000 +++ b/src/server.c Thu Dec 14 09:35:52 2000 +0000 @@ -297,7 +297,6 @@ void serv_got_im(struct gaim_connection *gc, char *name, char *message, int away) { struct conversation *cnv; - int is_idle = -1; int new_conv = 0; char *buffy = g_strdup(message); @@ -377,23 +376,10 @@ cnv->sent_away = t; - if (is_idle) - is_idle = -1; - /* apply default fonts and colors */ tmpmsg = stylize(awaymessage->message, MSG_LEN); - /* PRPL */ - if (gc->protocol == PROTO_TOC) { - escape_text(tmpmsg); - escape_message(tmpmsg); - } serv_send_im(gc, name, away_subs(tmpmsg, alias), 1); - g_free(tmpmsg); - tmpmsg = stylize(awaymessage->message, MSG_LEN); - - if (is_idle == -1) - is_idle = 1; if (cnv != NULL) write_to_conv(cnv, away_subs(tmpmsg, alias), WFLAG_SEND | WFLAG_AUTO, NULL);