added forgotten persistent storage setting

pull/1357/head
Chris Caron 2025-06-29 21:49:05 -04:00
parent 91d7b922cb
commit a5f4389ebf
1 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,7 @@ from datetime import timezone
from ..base import NotifyBase from ..base import NotifyBase
from ...url import PrivacyMode from ...url import PrivacyMode
from ...common import NotifyFormat, NotifyType from ...common import NotifyFormat, NotifyType, PersistentStoreMode
from ...conversion import convert_between from ...conversion import convert_between
from ...utils import pgp as _pgp from ...utils import pgp as _pgp
from ...utils.parse import ( from ...utils.parse import (
@ -75,6 +75,10 @@ class NotifyEmail(NotifyBase):
# Support attachments # Support attachments
attachment_support = True attachment_support = True
# Our default is to no not use persistent storage beyond in-memory
# reference; this allows us to auto-generate our config if needed
storage_mode = PersistentStoreMode.AUTO
# Default Notify Format # Default Notify Format
notify_format = NotifyFormat.HTML notify_format = NotifyFormat.HTML