changeset 26364:583d211a956a

Remove check to prevent multiple Jingle sessions with the same person. This will allow for multiple simultaneous file transfers and/or voice/video sesssions.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Tue, 17 Mar 2009 02:19:10 +0000
parents 925af7142249
children abcc94ace5ea
files libpurple/protocols/jabber/jingle/jingle.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/jingle.c	Tue Mar 17 02:15:09 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/jingle.c	Tue Mar 17 02:19:10 2009 +0000
@@ -401,13 +401,6 @@
 					"id={%s} already exists\n", sid);
 			/* send iq error */
 			return;
-		} else if ((session = jingle_session_find_by_jid(js,
-				xmlnode_get_attrib(packet, "from")))) {
-			purple_debug_fatal("jingle", "Jingle session with "
-					"jid={%s} already exists\n",
-					xmlnode_get_attrib(packet, "from"));
-			/* send jingle redirect packet */
-			return;
 		} else {
 			session = jingle_session_create(js, sid,
 					xmlnode_get_attrib(packet, "to"),