Add an config item to hide following

This commit is contained in:
Thomas Sileo
2018-07-17 23:42:21 +02:00
parent c01cc39e20
commit ac5f349d0f
3 changed files with 6 additions and 1 deletions

View File

@@ -72,6 +72,8 @@ with open(os.path.join(KEY_DIR, "me.yml")) as f:
PASS = conf["pass"]
EXTRA_INBOXES = conf.get("extra_inboxes", [])
HIDE_FOLLOWING = strtobool(conf.get("hide_following", "false"))
# Theme-related config
theme_conf = conf.get("theme", {})
THEME_STYLE = ThemeStyle(theme_conf.get("style", DEFAULT_THEME_STYLE))