protocol::{
objects::{group::Group, tombstone::Tombstone, Endpoints},
ImageObject,
- SourceCompat,
+ Source,
},
};
use activitystreams_kinds::actor::GroupType;
preferred_username: self.name.clone(),
name: Some(self.title.clone()),
summary: self.description.as_ref().map(|b| markdown_to_html(b)),
- source: self.description.clone().map(SourceCompat::new),
+ source: self.description.clone().map(Source::new),
icon: self.icon.clone().map(ImageObject::new),
image: self.banner.clone().map(ImageObject::new),
sensitive: Some(self.nsfw),