mirror of https://gitlab.com/bashrc2/epicyon
Debug for non-public replies
parent
865bae0963
commit
d63f390025
1
inbox.py
1
inbox.py
|
@ -3245,6 +3245,7 @@ def json_post_allows_comments(post_json_object: {}) -> bool:
|
||||||
if isinstance(reply_control, str):
|
if isinstance(reply_control, str):
|
||||||
if not reply_control.endswith('#Public'):
|
if not reply_control.endswith('#Public'):
|
||||||
return False
|
return False
|
||||||
|
print('DEBUG: non-public replies ' + str(reply_control))
|
||||||
|
|
||||||
if 'commentsEnabled' in post_json_object:
|
if 'commentsEnabled' in post_json_object:
|
||||||
return post_json_object['commentsEnabled']
|
return post_json_object['commentsEnabled']
|
||||||
|
|
Loading…
Reference in New Issue