1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 12:37:58 +01:00

Merge pull request #419 from adiaholic/bugFix

XmlEnvironment: Use correct method to obatain effective namespace.
This commit is contained in:
Florian Schmaus 2020-08-11 14:19:03 +02:00 committed by GitHub
commit f00804ef72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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