Allow to disable webmentions via config

This commit is contained in:
Thomas Sileo
2019-09-08 12:13:18 +02:00
parent 018b7bf553
commit a0a756d320
3 changed files with 10 additions and 3 deletions

View File

@@ -173,6 +173,8 @@ if conf.get("emoji_tpl"):
# Hosts blacklist
BLACKLIST = conf.get("blacklist", [])
DISABLE_WEBMENTIONS = conf.get("disable_webmentions", False)
# By default, we keep 14 of inbox data ; outbox is kept forever (along with bookmarked stuff, outbox replies, liked...)
DAYS_TO_KEEP = 14