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:
parent
b9b0b6134f
commit
19131e4934
1 changed files with 2 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue