mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-18 09:41:01 +00:00
Attribute posts to one actor only
This commit is contained in:
parent
c282246bf2
commit
92b4dea739
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,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>>(),
|
||||
"attributedTo": self.get_authors(conn)[0].compute_id(conn),
|
||||
"content": self.content,
|
||||
"actor": self.get_authors(conn)[0].compute_id(conn),
|
||||
"published": self.creation_date,
|
||||
|
|
Loading…
Reference in a new issue