aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 4e9cc74988..34f8b91f8a 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -372,7 +372,7 @@ create_from_optionmenu (EMsgComposerHdrs *hdrs)
while (e_iterator_is_valid (iter)) {
account = (EAccount *) e_iterator_get (iter);
- if (account->enabled && account->id->address && account_can_send (account))
+ if (account->id->address && account_can_send (account))
g_ptr_array_add (addresses, account->id->address);
e_iterator_next (iter);
@@ -391,7 +391,7 @@ create_from_optionmenu (EMsgComposerHdrs *hdrs)
continue;
}
- if (account->enabled && account->id->address && *account->id->address && account_can_send (account)) {
+ if (account->id->address && *account->id->address && account_can_send (account)) {
/* If the account has a unique email address, just
* show that. Otherwise include the account name.
*/