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