feat: encrypt notification tokens

This commit is contained in:
link2xt
2024-11-20 19:36:22 +00:00
committed by l
parent e14349ea0e
commit 6dd8f44a15
4 changed files with 176 additions and 8 deletions

View File

@@ -441,6 +441,12 @@ pub enum Config {
/// Enable webxdc realtime features.
#[strum(props(default = "1"))]
WebxdcRealtimeEnabled,
/// Last device token stored on the chatmail server.
///
/// If it has not changed, we do not store
/// the device token again.
DeviceToken,
}
impl Config {