mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 09:56:35 +03:00
feat: Sync Config::DeleteServerAfter across devices
This commit is contained in:
@@ -400,6 +400,7 @@ impl Config {
|
||||
matches!(
|
||||
self,
|
||||
Self::Displayname
|
||||
| Self::DeleteServerAfter
|
||||
| Self::MdnsEnabled
|
||||
| Self::MvboxMove
|
||||
| Self::ShowEmails
|
||||
@@ -1048,6 +1049,7 @@ mod tests {
|
||||
}
|
||||
test_config_str(&alice0, &alice1, Config::Displayname, "Alice Sync").await?;
|
||||
test_config_str(&alice0, &alice1, Config::Selfstatus, "My status").await?;
|
||||
test_config_str(&alice0, &alice1, Config::DeleteServerAfter, "3600").await?;
|
||||
|
||||
assert!(alice0.get_config(Config::Selfavatar).await?.is_none());
|
||||
let file = alice0.dir.path().join("avatar.png");
|
||||
|
||||
Reference in New Issue
Block a user