forked from Plume/Plume
Make Accept activities compatible with Mastodon
Why aren't you accepting IDs gargamel?
This commit is contained in:
parent
438f244d88
commit
743e6a23d4
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ impl Accept {
|
|||
Accept {
|
||||
id: format!("{}/accept/{}/{}", who.compute_id(conn), what.get_type().to_lowercase(), what.get_id()),
|
||||
actor: serde_json::Value::String(who.compute_id(conn)),
|
||||
object: serde_json::Value::String(what.get_id()),
|
||||
object: what.serialize(),
|
||||
date: chrono::Utc::now()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue