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 committed 2023-07-25 17:22:11 +02:00
1 parent ec27f7e714
commit 326bc68f4c
13 files changed
+95 -9

No files matched your search

@@ -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();