This commit is contained in:
j3d1 2024-05-04 00:45:28 +02:00
parent 53f72fb848
commit 9e2d59a2f6

View file

@ -68,7 +68,7 @@ class NotificationDispatcher:
message = render_notification_new_ticket(ticket) if new else await render_notification_reply_ticket(ticket)
print("Dispatching message:", message, "with event_id:", event_id)
targets = await self.get_notification_targets()
await telegram_notify(message, TELEGRAM_GROUP_CHAT_ID)
#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)