fix(bot): use household locale for anonymous posts

This commit is contained in:
2026-03-11 01:32:40 +04:00
parent 001f3cf985
commit d1a3f0e10c
2 changed files with 83 additions and 1 deletions

View File

@@ -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)
}