Commit a0fba82c authored by Dele Olajide's avatar Dele Olajide
parents 5d005e91 8e1ae42d
......@@ -113,6 +113,7 @@ exit 0
%{homedir}/bin/embedded-db-viewer.sh
%dir %{homedir}/conf
%config(noreplace) %{homedir}/conf/openfire.xml
%config(noreplace) %{homedir}/conf/security.xml
%config(noreplace) %{homedir}/conf/crowd.properties
%dir %{homedir}/lib
%{homedir}/lib/*.jar
......
......@@ -446,7 +446,7 @@ public class LocalOutgoingServerSession extends LocalSession implements Outgoing
String id = xpp.getAttributeValue("", "id");
// Get new stream features
features = reader.parseDocument().getRootElement();
if (features != null && (features.element("mechanisms") != null || features.element("dialback") != null)) {
if (features != null) {
// Check if we can use stream compression
String policyName = JiveGlobals.getProperty("xmpp.server.compression.policy", Connection.CompressionPolicy.disabled.toString());
Connection.CompressionPolicy compressionPolicy = Connection.CompressionPolicy.valueOf(policyName);
......@@ -486,7 +486,7 @@ public class LocalOutgoingServerSession extends LocalSession implements Outgoing
}
// Get new stream features
features = reader.parseDocument().getRootElement();
if (features == null || features.element("mechanisms") == null) {
if (features == null) {
log.debug("Error, EXTERNAL SASL was not offered.");
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment