Adding a note for bio.

This commit is contained in:
Dessalines 2020-09-25 10:06:33 -05:00
parent 84b7dd11f1
commit e35e1f2bd0

View file

@ -241,6 +241,9 @@ impl FromApub for UserForm {
.context(location_info!())? .context(location_info!())?
.to_string(); .to_string();
let preferred_username = person.inner.preferred_username().map(|u| u.to_string()); let preferred_username = person.inner.preferred_username().map(|u| u.to_string());
// TODO a limit check (like the API does) might need to be done
// here when we federate to other platforms. Same for preferred_username
let bio = person let bio = person
.inner .inner
.summary() .summary()