merge-requests/30/head
Bob Mottram 2023-08-03 12:54:42 +01:00
parent d63f390025
commit 30de40ed0b
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
# TODO handle non-public reply permissions
print('DEBUG: non-public replies ' + str(reply_control))
if 'commentsEnabled' in post_json_object: