From 5dea9d3ee170e46a472698bbf36b6b3182a207dc Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 26 Feb 2013 08:44:32 +0000 Subject: [PATCH] SMACK-379 Removed mandatory session establishment, since it was dropped from the newer XMPP-IM RFC (a.k.a. RFC 6121) git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13521 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/SASLAuthentication.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/org/jivesoftware/smack/SASLAuthentication.java b/source/org/jivesoftware/smack/SASLAuthentication.java index 722e1718b..a7e1dcbba 100644 --- a/source/org/jivesoftware/smack/SASLAuthentication.java +++ b/source/org/jivesoftware/smack/SASLAuthentication.java @@ -473,10 +473,6 @@ public class SASLAuthentication implements UserAuthentication { throw new XMPPException(ack.getError()); } } - else { - // Server never offered session establishment - throw new XMPPException("Session establishment not offered by server"); - } return userJID; }