1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-01 01:35:59 +01:00

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

View file

@ -430,12 +430,8 @@ public abstract class JingleSession extends JingleNegotiator {
} }
else if (action.equals(Jingle.Action.SESSIONINITIATE)) { else if (action.equals(Jingle.Action.SESSIONINITIATE)) {
if (!(getState() instanceof IncomingJingleSession.Accepting)) {
jout = getState().eventInitiate(jin); jout = getState().eventInitiate(jin);
}else{
jout =null;
throw new JingleException("Discard");
}
} }
else if (action.equals(Jingle.Action.SESSIONREDIRECT)) { else if (action.equals(Jingle.Action.SESSIONREDIRECT)) {