We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63088b commit 931bf07Copy full SHA for 931bf07
app/Jobs/TelegramMessage.php
@@ -42,7 +42,7 @@ public function __construct(public Collection $message, public ?CaptchaCallback
42
$this->newChatMember = (bool) $this->message->get('new_chat_member');
43
44
$this->locale = collect(config('telegram.chats'))
45
- ->where('id', $this->chatId)->first ?? config('telegram.default_locale');
+ ->where('id', $this->chatId)?->first['locale'] ?? config('telegram.default_locale');
46
}
47
48
/**
0 commit comments