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 let url = page
.inner .inner
.url() .url()
.as_ref() .map(|u| u.as_single_xsd_any_uri())
.map(|u| u.as_single_xsd_string())
.flatten() .flatten()
.map(|s| s.to_string()); .map(|s| s.to_string());
let body = page let body = page