mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-22 09:31:07 +00:00
Optional outbox
This commit is contained in:
parent
17886732dd
commit
ce9de20471
2 changed files with 2 additions and 2 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#ffc8faf82522ce7801b783077731809a37fbaa36"
|
source = "git+https://git.asonix.dog/asonix/activitystreams-sketch#0223878e522f07c9184235933ea70fb5f7e9bf1c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"activitystreams",
|
"activitystreams",
|
||||||
"serde 1.0.110",
|
"serde 1.0.110",
|
||||||
|
|
|
@ -23,7 +23,6 @@ pub async fn route(
|
||||||
let mut application = Ext1::new(
|
let mut application = Ext1::new(
|
||||||
ApActor::new(
|
ApActor::new(
|
||||||
config.generate_url(UrlKind::Inbox).parse()?,
|
config.generate_url(UrlKind::Inbox).parse()?,
|
||||||
config.generate_url(UrlKind::Outbox).parse()?,
|
|
||||||
Application::new(),
|
Application::new(),
|
||||||
),
|
),
|
||||||
PublicKey {
|
PublicKey {
|
||||||
|
@ -42,6 +41,7 @@ pub async fn route(
|
||||||
.set_url(config.generate_url(UrlKind::Actor).parse::<XsdAnyUri>()?)
|
.set_url(config.generate_url(UrlKind::Actor).parse::<XsdAnyUri>()?)
|
||||||
.set_many_contexts(vec![context(), security()])
|
.set_many_contexts(vec![context(), security()])
|
||||||
.set_preferred_username("relay".into())
|
.set_preferred_username("relay".into())
|
||||||
|
.set_outbox(config.generate_url(UrlKind::Outbox).parse()?)
|
||||||
.set_followers(
|
.set_followers(
|
||||||
config
|
config
|
||||||
.generate_url(UrlKind::Followers)
|
.generate_url(UrlKind::Followers)
|
||||||
|
|
Loading…
Reference in a new issue