Fix sender addresses of draft

The sender addresses select menu is now populated with the identities of
the selected account *only*. The chosen sender address is also restored
from the draft.

Fixes #3577
This commit is contained in:
Francis Lachapelle committed 2016-05-10 14:41:24 -04:00
1 parent 7d5255f762
commit a1e0f2767f
6 files changed
+49 -24

No files matched your search

@@ -218,7 +218,7 @@
controller: 'MessageEditorController',
controllerAs: 'editor',
locals: {
stateAccounts: vm.accounts,
stateAccount: vm.account,
stateMessage: message,
stateRecipients: []
}