Add an ID to ActivityPub Articles
Maybe it will work better
This commit is contained in:
parent
d587d18cd4
commit
b8a41e71c5
@ -93,6 +93,7 @@ impl Object for Post {
|
||||
|
||||
json!({
|
||||
"type": "Article",
|
||||
"id": self.compute_id(conn),
|
||||
"attributedTo": self.get_authors(conn).into_iter().map(|a| a.compute_id(conn)).collect::<Vec<String>>(),
|
||||
"content": self.content,
|
||||
// TODO: "image": "image",
|
||||
|
Loading…
Reference in New Issue
Block a user