diff src/gtkconv.c @ 12272:3ef381cdc47e

[gaim-migrate @ 14574] This should fix idle time reporting for all accounts. Previously it would only work for one account because I'm dumb. We're also doing one idleness check every 5 seconds instead of checking for each account every 20 seconds. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 30 Nov 2005 06:03:49 +0000
parents 2be62353f708
children 255e6912607b
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Nov 30 06:02:38 2005 +0000
+++ b/src/gtkconv.c	Wed Nov 30 06:03:49 2005 +0000
@@ -42,6 +42,7 @@
 #include "account.h"
 #include "cmds.h"
 #include "debug.h"
+#include "idle.h"
 #include "imgstore.h"
 #include "log.h"
 #include "notify.h"
@@ -517,6 +518,8 @@
 		return;
 	}
 
+	gaim_idle_touch();
+
 	/* XXX: is there a better way to tell if the message has images? */
 	if (GTK_IMHTML(gtkconv->entry)->im_images != NULL)
 		flags |= GAIM_MESSAGE_IMAGES;