stash
This commit is contained in:
parent
c9117bd6b7
commit
283f30faa5
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class NotificationDispatcher:
|
||||||
message = render_notification_new_ticket(ticket) if new else await render_notification_reply_ticket(ticket)
|
message = render_notification_new_ticket(ticket) if new else await render_notification_reply_ticket(ticket)
|
||||||
print("Dispatching message:", message, "with event_id:", event_id)
|
print("Dispatching message:", message, "with event_id:", event_id)
|
||||||
targets = await self.get_notification_targets()
|
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:
|
for target in targets:
|
||||||
if target.channel_type == 'telegram':
|
if target.channel_type == 'telegram':
|
||||||
print("Sending telegram notification to:", target.channel_target)
|
print("Sending telegram notification to:", target.channel_target)
|
||||||
|
|
Loading…
Reference in a new issue