[Commits] [SCM] claws branch, gtk2, updated. 3.19.0-83-gcf904e911
paul at claws-mail.org
paul at claws-mail.org
Wed Oct 19 14:48:42 UTC 2022
The branch, gtk2 has been updated
via cf904e911e271a8a8b0c809fccababc79289fdb5 (commit)
from af642b4f0a43e726b9574352d0508ba9525200bd (commit)
Summary of changes:
src/compose.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit cf904e911e271a8a8b0c809fccababc79289fdb5
Author: Paul <paul at claws-mail.org>
Date: Wed Oct 19 15:46:12 2022 +0100
fix bug where NNTP account's SMTP server wasn't used
diff --git a/src/compose.c b/src/compose.c
index 3e0786cea..c07ce3223 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -6172,11 +6172,10 @@ static ComposeQueueResult compose_queue_sub(Compose *compose, gint *msgnum, Fold
}
if (compose->to_list) {
- if (compose->account->protocol != A_NNTP)
- mailac = compose->account;
- else if (cur_account && cur_account->protocol != A_NNTP)
+ mailac = compose->account;
+ if (!mailac && cur_account && cur_account->protocol != A_NNTP)
mailac = cur_account;
- else if (!(mailac = compose_current_mail_account())) {
+ else if (!mailac && !(mailac = compose_current_mail_account())) {
alertpanel_error(_("No account for sending mails available!"));
return COMPOSE_QUEUE_ERROR_NO_MSG;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list