From c9cf4f15419be5a20bb7a046facfb664b0141f38 Mon Sep 17 00:00:00 2001 From: Aditya Borikar Date: Sat, 8 Aug 2020 20:14:39 +0530 Subject: [PATCH] XmlEnvironment: Use correct method to obatain effective namespace. --- .../main/java/org/jivesoftware/smack/packet/XmlEnvironment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/XmlEnvironment.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/XmlEnvironment.java index defc09868..cf4e8f9fd 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/XmlEnvironment.java +++ b/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; }