mirror of https://gitlab.com/bashrc2/epicyon
Show the whole message content
parent
4aa56256e8
commit
11f6655530
2
inbox.py
2
inbox.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue