Fix post url federation

This commit is contained in:
Felix Ableitner 2020-09-14 18:31:19 +02:00 committed by Dessalines
parent 400f949580
commit 554d6beafa

View file

@ -253,8 +253,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