Expand description
The local notification settings model and the pure rules over it.
Structs§
- Notification
Config - Delivery details and rules used to compute the desired subscriptions.
Enums§
- Notification
Channel - The delivery endpoint. Credentials are omitted from debug output.
- Notification
Override - A conversation rule. Sync groups use the client rule only.
Functions§
- decode
- Decodes a stored notification value from JSON.
- effective
- Resolve only local rules. Active membership is checked separately by the task.
- enabled_
from_ record - Whether notifications for
groupare on: the record is enabled and its stored configuration’s local rules allow the group. - encode
- Encodes a stored notification value as JSON.
- encode_
config - Encode a configuration, which holds the HTTP signing key, for storage.
- notification_
settings_ changed - Invalidates prepared notification batches and emits
NotificationSettingsChanged. - recipient_
secret - A copy of the stored recipient secret for a request, which wipes it on drop.
- stored_
config - Decode the stored configuration. The stored bytes stay in their
StoredSecret, and the signing key decodes straight into aSecret.