Include videos

merge-requests/30/head
Bob Mottram 2023-06-18 16:08:10 +01:00
parent 0e808b4bd3
commit ef1503b49f
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ def _valid_profile_preview_post(post_json_object: {},
if post_json_object['type'] != 'Create' and \
post_json_object['type'] != 'Announce':
if post_json_object['type'] != 'Note' and \
post_json_object['type'] != 'Video' and \
post_json_object['type'] != 'Page':
return False, None
if not post_json_object.get('to'):