forked from mirrors/relay
Remove redundant ownings
This commit is contained in:
parent
d5cf29f237
commit
55eb002ccd
2 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -39,7 +39,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "activitystreams-new"
|
name = "activitystreams-new"
|
||||||
version = "0.1.0"
|
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 = [
|
dependencies = [
|
||||||
"activitystreams",
|
"activitystreams",
|
||||||
"serde 1.0.111",
|
"serde 1.0.111",
|
||||||
|
|
|
@ -32,11 +32,11 @@ pub async fn route(
|
||||||
|
|
||||||
application
|
application
|
||||||
.set_id(config.generate_url(UrlKind::Actor))
|
.set_id(config.generate_url(UrlKind::Actor))
|
||||||
.set_summary("AodeRelay bot".to_owned())
|
.set_summary("AodeRelay bot")
|
||||||
.set_name("AodeRelay".to_owned())
|
.set_name("AodeRelay")
|
||||||
.set_url(config.generate_url(UrlKind::Actor))
|
.set_url(config.generate_url(UrlKind::Actor))
|
||||||
.set_many_contexts(vec![context(), security()])
|
.set_many_contexts(vec![context(), security()])
|
||||||
.set_preferred_username("relay".into())
|
.set_preferred_username("relay")
|
||||||
.set_outbox(config.generate_url(UrlKind::Outbox))
|
.set_outbox(config.generate_url(UrlKind::Outbox))
|
||||||
.set_followers(config.generate_url(UrlKind::Followers))
|
.set_followers(config.generate_url(UrlKind::Followers))
|
||||||
.set_following(config.generate_url(UrlKind::Following))
|
.set_following(config.generate_url(UrlKind::Following))
|
||||||
|
|
Loading…
Reference in a new issue