feat: return old locale instead of putting english
This commit is contained in:
parent
d2a2f80135
commit
4aa6b371da
@ -126,8 +126,7 @@ public class SelectLanguageTutorial implements Processor {
|
|||||||
.getFields()
|
.getFields()
|
||||||
.getAdditionalProperties()
|
.getAdditionalProperties()
|
||||||
.getOrDefault(
|
.getOrDefault(
|
||||||
Field.NewLanguage.getName(),
|
Field.NewLanguage.getName(), tgChat.getLocale()));
|
||||||
Language.English.getLocale()));
|
|
||||||
tgChat.save();
|
tgChat.save();
|
||||||
log.trace(
|
log.trace(
|
||||||
"Locale for chat "
|
"Locale for chat "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user