fix(preferences): Fix the issue when signature is too long and preferences are not saved. Note that MySQL profile table should be updated with a migration script

This commit is contained in:
smizrahi
2023-07-25 17:22:11 +02:00
parent ec27f7e714
commit 326bc68f4c
13 changed files with 95 additions and 9 deletions

View File

@@ -145,7 +145,8 @@
defaults: this.preferences.defaults,
account: account,
accountId: index,
mailCustomFromEnabled: $window.mailCustomFromEnabled
mailCustomFromEnabled: $window.mailCustomFromEnabled,
maxSize: this.preferences.defaults.CDefaultsSize
}
}).then(function() {
// Automatically expand the new mail account
@@ -173,7 +174,8 @@
defaults: this.preferences.defaults,
account: account,
accountId: index,
mailCustomFromEnabled: $window.mailCustomFromEnabled
mailCustomFromEnabled: $window.mailCustomFromEnabled,
maxSize: this.preferences.defaults.CDefaultsSize
}
}).then(function() {
vm.preferences.defaults.AuxiliaryMailAccounts[index] = account.$omit();