Remove redundant ownings

This commit is contained in:
asonix 2020-06-03 13:45:17 -05:00
parent d5cf29f237
commit 55eb002ccd
2 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -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",

View file

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