changeset 3601:81d514f109de

[gaim-migrate @ 3703] faceprint swears this will improve typing notification. if it makes things worse, we'll lynch him ;-P committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 06 Oct 2002 19:09:07 +0000
parents f6a55922110a
children a9cf9903bd74
files src/server.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Sun Oct 06 18:43:02 2002 +0000
+++ b/src/server.c	Sun Oct 06 19:09:07 2002 +0000
@@ -179,12 +179,16 @@
 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;
 }