mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 23:54:02 +00:00
fix(bot): use household locale for anonymous posts
This commit is contained in:
@@ -244,7 +244,7 @@ async function submitAnonymousFeedback(options: {
|
||||
try {
|
||||
const posted = await options.ctx.api.sendMessage(
|
||||
householdChat.telegramChatId,
|
||||
feedbackText(locale, result.sanitizedText),
|
||||
feedbackText(householdChat.defaultLocale, result.sanitizedText),
|
||||
{
|
||||
message_thread_id: Number(feedbackTopic.telegramThreadId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user