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

Do not return a Message "default" language if there is none

This commit is contained in:
Florian Schmaus 2018-05-09 16:49:23 +02:00
parent b4b75a3cca
commit 93c2b2be26

View file

@ -455,13 +455,7 @@ public final class Message extends Stanza implements TypedCloneable<Message> {
if (language == null && this.language != null) {
return this.language;
}
else if (language == null) {
return getDefaultLanguage();
}
else {
return language;
}
return language;
}
@Override