Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
samarets committed Oct 12, 2022
1 parent ec9c46e commit 6cd3d75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (b *bot) InitUpdates() {

continue
}
if userState != roomState {
if userState == roomState {
err = b.roomStateFunc(update)
if err != nil {
log.Error().Err(err).Send()
Expand Down
2 changes: 1 addition & 1 deletion locales/uk-UA/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"hello": "Привіт, {{ .Name }}, напиши своє питання — ми допоможемо",
"queue_start": "Ви перебуваєте в черзі підтримки, ваше запитання переслано, будь ласка, зачекайте, поки до вас приєднається оператор підтримки",
"room_start": "Оператор вже приєднався до вас, напишіть ваше запитання у цей чат",
"operator_connected": "До вас приє оператор"
"operator_connected": "До вас приєднався оператор"
}

0 comments on commit 6cd3d75

Please sign in to comment.