Fixing wrong user_ and community icon and banner urls.
pub description: Option<String>,
pub icon: Option<String>,
pub banner: Option<String>,
- pub category_id: i32,
pub nsfw: bool,
pub auth: String,
}
pub description: Option<String>,
pub icon: Option<String>,
pub banner: Option<String>,
- pub category_id: i32,
pub nsfw: bool,
pub auth: String,
}
p.community.name
);
- // TODO: for category we should just put the name of the category, but then we would have
- // to read each community from the db
-
// TODO add images
let mut description = format!("submitted by <a href=\"{}\">{}</a> to <a href=\"{}\">{}</a><br>{} points | <a href=\"{}\">{} comments</a>",
p.creator.actor_id,