From 19131e4934336fd5c6252db8f781af4ee630b34f Mon Sep 17 00:00:00 2001 From: Thiago Camargo Date: Wed, 28 Mar 2007 03:08:50 +0000 Subject: [PATCH] Ooops wrong commit git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7744 b35dd754-fafc-0310-a699-88a17e54d16e --- .../org/jivesoftware/smackx/jingle/JingleSession.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jingle/extension/source/org/jivesoftware/smackx/jingle/JingleSession.java b/jingle/extension/source/org/jivesoftware/smackx/jingle/JingleSession.java index 390b894f0..557013629 100644 --- a/jingle/extension/source/org/jivesoftware/smackx/jingle/JingleSession.java +++ b/jingle/extension/source/org/jivesoftware/smackx/jingle/JingleSession.java @@ -430,13 +430,9 @@ public abstract class JingleSession extends JingleNegotiator { } else if (action.equals(Jingle.Action.SESSIONINITIATE)) { - if (!(getState() instanceof IncomingJingleSession.Accepting)) { - jout = getState().eventInitiate(jin); - }else{ - jout =null; - throw new JingleException("Discard"); - } + jout = getState().eventInitiate(jin); + } else if (action.equals(Jingle.Action.SESSIONREDIRECT)) { jout = getState().eventRedirect(jin);