feat: enable telegram reaction notifications by default

This commit is contained in:
Peter Steinberger
2026-01-16 20:51:39 +00:00
parent e7c42884fc
commit 56efbce31e
5 changed files with 38 additions and 5 deletions

View File

@@ -322,8 +322,8 @@ export function createTelegramBot(opts: TelegramBotOptions) {
const messageId = reaction.message_id;
const user = reaction.user;
// Resolve reaction notification mode (default: "off")
const reactionMode = telegramCfg.reactionNotifications ?? "off";
// Resolve reaction notification mode (default: "own")
const reactionMode = telegramCfg.reactionNotifications ?? "own";
if (reactionMode === "off") return;
if (user?.is_bot) return;
if (reactionMode === "own" && !wasSentByBot(chatId, messageId)) return;