changeset 7401:aaf91a891cd9

[gaim-migrate @ 7997] fix my stupidity that leaked memory and caused jabber:iq:last requests to be ignored committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 31 Oct 2003 07:13:52 +0000
parents 08cef5988410
children d5d078560831
files src/protocols/jabber/iq.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/iq.c	Fri Oct 31 06:53:11 2003 +0000
+++ b/src/protocols/jabber/iq.c	Fri Oct 31 07:13:52 2003 +0000
@@ -153,6 +153,8 @@
 	idle_time = g_strdup_printf("%ld", js->idle ? time(NULL) - js->idle : 0);
 	xmlnode_set_attrib(query, "seconds", idle_time);
 	g_free(idle_time);
+
+	jabber_iq_send(iq);
 }
 
 static void jabber_iq_handle_time(JabberStream *js, xmlnode *packet)