mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix Question processing
This commit is contained in:
parent
376fef76bf
commit
9417f38cc7
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue