Add new replies_in_stream config item

For enabling replies in the stream section (a la Pleroma).
Disabled by default.
This commit is contained in:
Thomas Sileo
2019-10-06 14:08:03 +02:00
parent 813ea37988
commit 92add7581d
2 changed files with 7 additions and 2 deletions

View File

@@ -174,7 +174,11 @@ if conf.get("emoji_tpl"):
# Hosts blacklist
BLACKLIST = conf.get("blacklist", [])
DISABLE_WEBMENTIONS = conf.get("disable_webmentions", False)
# Outbound Webmentions support for public posts
DISABLE_WEBMENTIONS = bool(conf.get("disable_webmentions", False))
# Whether replies should be displayed in the stream or not
REPLIES_IN_STREAM = bool(conf.get("replies_in_stream", False))
# By default, we keep 14 of inbox data ; outbox is kept forever (along with bookmarked stuff, outbox replies, liked...)
DAYS_TO_KEEP = int(conf.get("days_to_keep", 14))