kopia lustrzana https://gitlab.com/jaywink/federation
Use also attributedTo for ActivityPub object actor_id's
rodzic
d6dd046b94
commit
ade389c236
|
@ -189,7 +189,7 @@ def transform_attribute(key: str, value: Union[str, Dict, int], transformed: Dic
|
|||
transformed["id"] = value
|
||||
else:
|
||||
transformed["activity_id"] = value
|
||||
elif key == "actor":
|
||||
elif key in ("actor", "attributedTo"):
|
||||
transformed["actor_id"] = value
|
||||
elif key == "content":
|
||||
transformed["raw_content"] = value
|
||||
|
|
Ładowanie…
Reference in New Issue