aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/database.cc1
-rw-r--r--lib/index.cc12
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/database.cc b/lib/database.cc
index 6b7ad49d..4e49e53f 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -107,7 +107,6 @@ prefix_t BOOLEAN_PREFIX_INTERNAL[] = {
{ "ref", "XREFERENCE" },
{ "replyto", "XREPLYTO" },
{ "timestamp", "XTIMESTAMP" },
- { "contact", "XCONTACT" }
};
prefix_t BOOLEAN_PREFIX_EXTERNAL[] = {
diff --git a/lib/index.cc b/lib/index.cc
index 747a4e63..65b83b3f 100644
--- a/lib/index.cc
+++ b/lib/index.cc
@@ -31,23 +31,11 @@ _index_address_mailbox (notmuch_message_t *message,
{
InternetAddressMailbox *mailbox = INTERNET_ADDRESS_MAILBOX (address);
const char *name, *addr;
- char *contact;
int own_name = 0;
name = internet_address_get_name (address);
addr = internet_address_mailbox_get_addr (mailbox);
- if (addr) {
- if (name) {
- contact = talloc_asprintf (message, "\"%s\" <%s>",
- name, addr);
- _notmuch_message_add_term (message, "contact", contact);
- talloc_free (contact);
- } else {
- _notmuch_message_add_term (message, "contact", addr);
- }
- }
-
/* In the absence of a name, we'll strip the part before the @
* from the address. */
if (! name) {