From: Luke S. <lsc...@us...> - 2002-10-06 19:09:14
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv2716/src Modified Files: server.c Log Message: faceprint swears this will improve typing notification. if it makes things worse, we'll lynch him ;-P Index: server.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/server.c,v retrieving revision 1.241 retrieving revision 1.242 diff -u -d -r1.241 -r1.242 --- server.c 30 Sep 2002 01:05:15 -0000 1.241 +++ server.c 6 Oct 2002 19:09:07 -0000 1.242 @@ -179,11 +179,15 @@ int serv_send_im(struct gaim_connection *gc, char *name, char *message, int len, int flags) { int val = -EINVAL; + struct conversation *cnv = find_conversation(name); if (gc->prpl && gc->prpl->send_im) val = gc->prpl->send_im(gc, name, message, len, flags); if (!(flags & IM_FLAG_AWAY)) serv_touch_idle(gc); + + if (cnv && cnv->type_again_timeout) + gtk_timeout_remove(cnv->type_again_timeout); serv_send_typing(gc, name, FALSE); return val; |