mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-04 19:52:33 +00:00
Show the whole message content
This commit is contained in:
1 parent
4aa56256e8
commit
11f6655530
1 file changed
+1
-1
@@ -1110,7 +1110,7 @@ def validPostContent(messageJson: {}) -> bool:
|
||||
if badStr in messageJson['object']['content']:
|
||||
if messageJson['object'].get('id'):
|
||||
print('REJECT: '+messageJson['object']['id'])
|
||||
print('REJECT: bad string in post - '+badStr)
|
||||
print('REJECT: bad string in post - '+messageJson['object']['content'])
|
||||
return False
|
||||
print('ACCEPT: post content is valid')
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user