This commit is contained in:
j3d1 2024-05-03 23:58:38 +02:00
parent 5ddd8c0b4b
commit b3bf2bfc31
2 changed files with 10 additions and 3 deletions

View file

@ -276,7 +276,7 @@ class LMTPHandler:
if thread:
await channel_layer.group_send(
'general', {"type": "generic.event", "name": "user_notification", "event_id": systemevent.id,
"ticket": thread, "new": new})
"ticket_id": thread.id, "new": new})
if new and reply:
log.info('Sending message to %s' % reply['To'])
await send_smtp(reply)