feat: return old locale instead of putting english
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/2/head
Davide Polonio 2023-04-03 10:33:36 +02:00
parent d2a2f80135
commit 4aa6b371da
1 changed files with 1 additions and 2 deletions

View File

@ -126,8 +126,7 @@ public class SelectLanguageTutorial implements Processor {
.getFields()
.getAdditionalProperties()
.getOrDefault(
Field.NewLanguage.getName(),
Language.English.getLocale()));
Field.NewLanguage.getName(), tgChat.getLocale()));
tgChat.save();
log.trace(
"Locale for chat "