summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-27 17:05:31 -0700
committerAndrew Godwin2022-11-27 17:05:31 -0700
commit3b079526a2ea78b68555094ca498faea31022759 (patch)
tree28414e93aa7d412148fbcba6ecd6e2a0b09ecb5f /core
parent2f443414a7e029f83292873257d2940b5a10cc64 (diff)
downloadtakahe-3b079526a2ea78b68555094ca498faea31022759.tar.gz
takahe-3b079526a2ea78b68555094ca498faea31022759.tar.bz2
takahe-3b079526a2ea78b68555094ca498faea31022759.zip
User fetching and inbox message cleaning
Diffstat (limited to 'core')
-rw-r--r--core/models/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/models/config.py b/core/models/config.py
index 6c31658..dab0059 100644
--- a/core/models/config.py
+++ b/core/models/config.py
@@ -213,6 +213,7 @@ class Config(models.Model):
identity_min_length: int = 2
identity_max_per_user: int = 5
identity_max_age: int = 24 * 60 * 60
+ inbox_message_purge_after: int = 24 * 60 * 60
restricted_usernames: str = "admin\nadmins\nadministrator\nadministrators\nsystem\nroot\nannounce\nannouncement\nannouncements"