Update activitystreams

This commit is contained in:
asonix 2020-03-15 23:44:46 -05:00
parent 954e8968db
commit b0352018bc
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View file

@ -2,9 +2,9 @@
# It is not intended for manual editing.
[[package]]
name = "activitystreams"
version = "0.5.0-alpha.6"
version = "0.5.0-alpha.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9057510df06a864f3a4da22c393373ae13850f001655a102acb4a8ada0895d9d"
checksum = "a9e82b6649331396e8bd17547a3b775ba7f530a30d574d43cf1d373899dafd94"
dependencies = [
"activitystreams-derive",
"chrono",

View file

@ -12,7 +12,7 @@ actix = "0.10.0-alpha.2"
actix-rt = "1.0.0"
actix-web = { version = "3.0.0-alpha.1", features = ["openssl"] }
actix-webfinger = { version = "0.3.0-alpha.2" }
activitystreams = "0.5.0-alpha.6"
activitystreams = "0.5.0-alpha.7"
base64 = "0.12"
bb8-postgres = "0.4.0"
dotenv = "0.15.0"

View file

@ -33,7 +33,7 @@ async fn actor_route(state: web::Data<State>) -> Result<impl Responder, MyError>
let mut application = Application::default();
let mut endpoint = EndpointProperties::default();
endpoint.set_shared_inbox(format!("https://{}/inbox", "localhost"))?;
endpoint.set_shared_inbox(state.generate_url(UrlKind::Inbox))?;
application
.object_props