diff --git a/Cargo.lock b/Cargo.lock index d196593..88e6968 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -39,7 +39,7 @@ dependencies = [ [[package]] name = "activitystreams-new" version = "0.1.0" -source = "git+https://git.asonix.dog/asonix/activitystreams-sketch#d37714ff57820fb80b2c0799153a1a8d56699ecb" +source = "git+https://git.asonix.dog/asonix/activitystreams-sketch#05a2bdc98d5595b0a74fd79b7e1b19f382ad3139" dependencies = [ "activitystreams", "serde 1.0.111", diff --git a/src/routes/actor.rs b/src/routes/actor.rs index 33d21ac..7a23472 100644 --- a/src/routes/actor.rs +++ b/src/routes/actor.rs @@ -32,11 +32,11 @@ pub async fn route( application .set_id(config.generate_url(UrlKind::Actor)) - .set_summary("AodeRelay bot".to_owned()) - .set_name("AodeRelay".to_owned()) + .set_summary("AodeRelay bot") + .set_name("AodeRelay") .set_url(config.generate_url(UrlKind::Actor)) .set_many_contexts(vec![context(), security()]) - .set_preferred_username("relay".into()) + .set_preferred_username("relay") .set_outbox(config.generate_url(UrlKind::Outbox)) .set_followers(config.generate_url(UrlKind::Followers)) .set_following(config.generate_url(UrlKind::Following))