From e361556188bf5f0f25d03559945927e530fc103e Mon Sep 17 00:00:00 2001 From: jedi Date: Thu, 2 May 2024 23:02:49 +0200 Subject: [PATCH] stash --- core/mail/notifications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/mail/notifications.py b/core/mail/notifications.py index 4c40fb2..3ad465a 100644 --- a/core/mail/notifications.py +++ b/core/mail/notifications.py @@ -62,8 +62,10 @@ class NotificationDispatcher: await telegram_notify(message, TELEGRAM_GROUP_CHAT_ID) for target in targets: if target.channel_type == 'telegram': + print("Sending telegram notification to:", target.channel_target) await telegram_notify(message, target.channel_target) elif target.channel_type == 'email': + print("Sending email notification to:", target.channel_target) await email_notify(message, target.channel_target) else: print("Unknown channel type:", target.channel_type)