Fix Question processing

main
Thomas Sileo 2022-07-10 14:29:07 +02:00
parent 376fef76bf
commit 9417f38cc7
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ def object_visibility(ap_activity: RawObject, actor: "Actor") -> VisibilityEnum:
def get_actor_id(activity: RawObject) -> str:
if activity["type"] in ["Note", "Article", "Video"]:
if activity["type"] in ["Note", "Article", "Video", "Question", "Page"]:
attributed_to = as_list(activity["attributedTo"])
return get_id(attributed_to[0])
else: