fix clippy

This commit is contained in:
Felix Ableitner 2021-04-20 17:16:41 +02:00
parent 0e1f9c5f46
commit f399ce1941

View file

@ -142,8 +142,6 @@ impl FromApubToForm<PersonExt> for PersonForm {
_request_counter: &mut i32, _request_counter: &mut i32,
_mod_action_allowed: bool, _mod_action_allowed: bool,
) -> Result<Self, LemmyError> { ) -> Result<Self, LemmyError> {
dbg!(person);
dbg!(person.inner.is_kind(&UserTypes::Service));
let avatar = match person.icon() { let avatar = match person.icon() {
Some(any_image) => Some( Some(any_image) => Some(
Image::from_any_base(any_image.as_one().context(location_info!())?.clone())? Image::from_any_base(any_image.as_one().context(location_info!())?.clone())?