XmlEnvironment: Use correct method to obatain effective namespace.

listEqualsHashcode
Aditya Borikar 2 years ago
parent cf92566e26
commit c9cf4f1541
  1. 2
      smack-core/src/main/java/org/jivesoftware/smack/packet/XmlEnvironment.java

@ -71,7 +71,7 @@ public class XmlEnvironment {
}
public String getEffectiveNamespaceOrUse(String namespace) {
String effectiveNamespace = getEffectiveLanguage();
String effectiveNamespace = getEffectiveNamespace();
if (StringUtils.isNullOrEmpty(effectiveNamespace)) {
return namespace;
}

Loading…
Cancel
Save