summaryrefslogtreecommitdiffstats
path: root/globals.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-08 15:15:56 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-08 15:15:56 -0800
commite525bc08ca86c3006f696fb823613c42eb333623 (patch)
treedac6a3e8dbe0de50955ce0c2dd47d99ee15cfa0c /globals.h
parent7f1febf6cf0ec70c2a7857eaf2bd44d2c59ee5f1 (diff)
Add $auto_subscribe variable.
When set, it automatically subscribes to mailing lists found in List-Post headers. This commit is based on Michael Elkins's patch from the thread <https://marc.info/?l=mutt-users&m=127076105423565&w=2>. I've added an opt-in variable $auto_subscribe and a hash table cache to speed up reading headers when the variable is set.
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/globals.h b/globals.h
index cecb46d6..d71fc779 100644
--- a/globals.h
+++ b/globals.h
@@ -170,6 +170,7 @@ WHERE const char *ReleaseDate;
WHERE HASH *Groups;
WHERE HASH *ReverseAlias;
+WHERE HASH *AutoSubscribeCache;
WHERE LIST *AutoViewList INITVAL(0);
WHERE LIST *AlternativeOrderList INITVAL(0);