Fix post url federation

This commit is contained in:
Felix Ableitner 2020-09-14 18:31:19 +02:00
parent 762c1347ed
commit 031403441c

View file

@ -250,8 +250,7 @@ impl FromApub for PostForm {
let url = page
.inner
.url()
.as_ref()
.map(|u| u.as_single_xsd_string())
.map(|u| u.as_single_xsd_any_uri())
.flatten()
.map(|s| s.to_string());
let body = page