aboutsummaryrefslogtreecommitdiff
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-10-27 17:15:42 -0700
committerCarl Worth <cworth@cworth.org>2010-10-27 17:15:42 -0700
commit399031c2e3ceffc4999110d7e9f221f49e191016 (patch)
tree3cc19008c8ebadef2270841b5a8edd54e7e0d6d2 /notmuch-reply.c
parent1aae106be5576fb75c2813bef04486f40de07d52 (diff)
Remove bcc header from notmuch reply.
Notmuch reply should not be Bcc'ing the sender by default. This is not the appropriate way to save copies of sent mail (which should probably be handled by an Fcc header[*]) and it doesn't give the user the option to not be bcc'd. This is really something that should be handled by the reader UI. For instance, emacs message-mode can easily be configured to add Bcc's if the user wishes. [*] Carl Worth: The FCC header is now in place by default in the emacs user-interface (and tested in the test suite) so the Bcc is ready to be eliminated.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index fd1de3b..aa58178 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -481,9 +481,6 @@ notmuch_reply_format_default(void *ctx, notmuch_config_t *config, notmuch_query_
g_mime_object_set_header (GMIME_OBJECT (reply),
"From", from_addr);
- g_mime_object_set_header (GMIME_OBJECT (reply), "Bcc",
- notmuch_config_get_user_primary_email (config));
-
in_reply_to = talloc_asprintf (ctx, "<%s>",
notmuch_message_get_message_id (message));
@@ -558,9 +555,6 @@ notmuch_reply_format_headers_only(void *ctx, notmuch_config_t *config, notmuch_q
(void)add_recipients_from_message (reply, config, message);
- g_mime_object_set_header (GMIME_OBJECT (reply), "Bcc",
- notmuch_config_get_user_primary_email (config));
-
reply_headers = g_mime_object_to_string (GMIME_OBJECT (reply));
printf ("%s", reply_headers);
free (reply_headers);