mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-29 15:01:10 +00:00
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