Ooops wrong commit

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7744 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-03-28 03:08:50 +00:00 committed by thiago
parent b9b0b6134f
commit 19131e4934
1 changed files with 2 additions and 6 deletions

View File

@ -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);