changeset 26400:007cd8dad384

Don't let initiate or accept be sent again with Google Voice.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Fri, 20 Mar 2009 06:49:55 +0000
parents 85c571d11417
children 7909c74618fc
files libpurple/protocols/jabber/google.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Fri Mar 20 06:18:03 2009 +0000
+++ b/libpurple/protocols/jabber/google.c	Fri Mar 20 06:49:55 2009 +0000
@@ -210,6 +210,9 @@
 
 		google_session_send_candidates(session->media,
 				"google-voice", session->remote_jid, session);
+
+		g_signal_handlers_disconnect_by_func(G_OBJECT(session->media),
+				G_CALLBACK(google_session_ready), session);
 	}
 }