Skip to content

Commit a1ce832

Browse files
authored
Tg captcha (#276)
1 parent d64ca6b commit a1ce832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/TelegramMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(public Collection $message, public ?CaptchaCallback
4242
$this->newChatMember = (bool) $this->message->get('new_chat_member');
4343

4444
$this->locale = collect(config('telegram.chats'))
45-
->where('id', $this->chatId)->first ?? config('telegram.default_locale');
45+
->where('id', $this->chatId)?->first['locale'] ?? config('telegram.default_locale');
4646
}
4747

4848
/**

0 commit comments

Comments
 (0)