Mercurial > pidgin
changeset 1263:f44bcae47188
[gaim-migrate @ 1273]
don't double-escape away messages when sent in toc. what the hell was is_idle?
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 14 Dec 2000 09:35:52 +0000 |
parents | b0bd82cce5e1 |
children | 6210d06da99b |
files | src/server.c |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- 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);