Debug for non-public replies

merge-requests/30/head
Bob Mottram 2023-08-03 12:16:01 +01:00
parent 865bae0963
commit d63f390025
1 changed files with 1 additions and 0 deletions

View File

@ -3245,6 +3245,7 @@ def json_post_allows_comments(post_json_object: {}) -> bool:
if isinstance(reply_control, str):
if not reply_control.endswith('#Public'):
return False
print('DEBUG: non-public replies ' + str(reply_control))
if 'commentsEnabled' in post_json_object:
return post_json_object['commentsEnabled']