hook/email: log event.uuid on notification

This commit is contained in:
Peter Bieringer
2026-04-10 07:48:40 +02:00
parent 785b19812e
commit 20846d3bd6

View File

@@ -1013,8 +1013,9 @@ class Hook(BaseHook):
if not previous_item_str:
# Dealing with a completely new event, no previous content to compare against.
# Email every attendee about the new event.
logger.debug("New event detected, sending notifications to all attendees.")
email_success: bool = self.email_config.send_added_email( # type: ignore
logger.info("New event detected, sending notifications to all attendees: %s",
email_event.event.uid)
email_success = self.email_config.send_added_email(
attendees=email_event.event.attendees,
event=email_event
)