mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
notmuch-reply: Remove a useless level of nesting.
Making the code a tiny bit easier to read (in my opinion at least).
This commit is contained in:
parent
3e216ba60d
commit
542e32876e
1 changed files with 4 additions and 5 deletions
|
@ -380,12 +380,11 @@ notmuch_reply_format_default(void *ctx, notmuch_config_t *config, notmuch_query_
|
|||
|
||||
from_addr = add_recipients_from_message (reply, config, message);
|
||||
|
||||
if (from_addr == NULL) {
|
||||
if (from_addr == NULL)
|
||||
from_addr = guess_from_received_header (config, message);
|
||||
|
||||
if (from_addr == NULL) {
|
||||
from_addr = notmuch_config_get_user_primary_email (config);
|
||||
}
|
||||
}
|
||||
|
||||
from_addr = talloc_asprintf (ctx, "%s <%s>",
|
||||
notmuch_config_get_user_name (config),
|
||||
|
|
Loading…
Reference in a new issue