# HG changeset patch # User Mike Ruprecht # Date 1237789967 0 # Node ID d8d6fb37c789d53612124d6e97a4cf1e9db00b52 # Parent df6fcdebb2fa35fa75945fec98eb8b74f8d50e46 Fix Gtalk bug where it would terminate the session after 15 seconds. diff -r df6fcdebb2fa -r d8d6fb37c789 libpurple/protocols/jabber/google.c --- a/libpurple/protocols/jabber/google.c Mon Mar 23 06:15:13 2009 +0000 +++ b/libpurple/protocols/jabber/google.c Mon Mar 23 06:32:47 2009 +0000 @@ -459,6 +459,7 @@ xmlnode *desc_element = xmlnode_get_child(sess, "description"); xmlnode *codec_element = xmlnode_get_child(desc_element, "payload-type"); GList *codecs = NULL; + JabberIq *result = NULL; for (; codec_element; codec_element = xmlnode_get_next_twin(codec_element)) { @@ -478,6 +479,11 @@ session->remote_jid, codecs); purple_media_accept(session->media); + + result = jabber_iq_new(js, JABBER_IQ_RESULT); + jabber_iq_set_id(result, xmlnode_get_attrib(packet, "id")); + xmlnode_set_attrib(result->node, "to", session->remote_jid); + jabber_iq_send(result); } static void