From f8b62c538850d5d45575401d522edc82956f3bb0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 14 Dec 2021 10:11:10 +0000 Subject: [PATCH] Comments --- inbox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 92c4493be..c9ee3daeb 100644 --- a/inbox.py +++ b/inbox.py @@ -2184,7 +2184,9 @@ def _validPostContent(baseDir: str, nickname: str, domain: str, """Is the content of a received post valid? Check for bad html Check for hellthreads - Check number of tags is reasonable + Check that the language is understood + Check if it's a git patch + Check number of tags and mentions is reasonable """ if not hasObjectDict(messageJson): return True