fix: account name don't change when Update Account #248

This commit is contained in:
rustmailer
2026-05-21 10:38:04 +08:00
parent f17820bfa8
commit 3a950e7591
29 changed files with 3181 additions and 428 deletions
+4
View File
@@ -369,6 +369,10 @@ impl Account {
new.folder_limit = Some(folder_limit);
}
if let Some(account_name) = request.account_name {
new.account_name = Some(account_name);
}
if let Some(clear_folder_limit) = request.clear_folder_limit {
if clear_folder_limit {
new.folder_limit = None;