mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-25 11:01:11 +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]]
|
||||
name = "activitystreams-new"
|
||||
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 = [
|
||||
"activitystreams",
|
||||
"serde 1.0.110",
|
||||
|
|
|
@ -23,7 +23,6 @@ pub async fn route(
|
|||
let mut application = Ext1::new(
|
||||
ApActor::new(
|
||||
config.generate_url(UrlKind::Inbox).parse()?,
|
||||
config.generate_url(UrlKind::Outbox).parse()?,
|
||||
Application::new(),
|
||||
),
|
||||
PublicKey {
|
||||
|
@ -42,6 +41,7 @@ pub async fn route(
|
|||
.set_url(config.generate_url(UrlKind::Actor).parse::<XsdAnyUri>()?)
|
||||
.set_many_contexts(vec![context(), security()])
|
||||
.set_preferred_username("relay".into())
|
||||
.set_outbox(config.generate_url(UrlKind::Outbox).parse()?)
|
||||
.set_followers(
|
||||
config
|
||||
.generate_url(UrlKind::Followers)
|
||||
|
|
Loading…
Reference in a new issue