Make Accept activities compatible with Mastodon

Why aren't you accepting IDs gargamel?
This commit is contained in:
Bat 2018-05-08 20:54:09 +01:00
parent 438f244d88
commit 743e6a23d4
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}
}