Files
Radicale/radicale/hook/none.py
Nate Harris 3b9df7b87e - Check if hook is enabled before constructing hook notification items
- Skip/early exit email hook if notification item is not a VCALENDAR
2026-03-30 01:55:03 -06:00

12 lines
250 B
Python

from radicale import hook
class Hook(hook.BaseHook):
@property
def enabled(self) -> bool:
"""Check if this hook is enabled."""
return False
def notify(self, notification_item):
"""Notify nothing. Empty hook."""