fix: image avatars went missing

This commit is contained in:
Simon Laux
2020-05-07 00:28:58 +02:00
parent 2e60380803
commit c3be1e3163

View File

@@ -204,7 +204,7 @@ fn message_to_html(author_cache: &HashMap<u32, ContactInfo>, message: Message) -
if let Some(profile_img) = &author.profile_img { if let Some(profile_img) = &author.profile_img {
format!( format!(
"<div class=\"author-avatar\">\ "<div class=\"author-avatar\">\
<img\ <img \
alt=\"{author_name}\"\ alt=\"{author_name}\"\
src=\"blobs/{author_avatar_src}\"\ src=\"blobs/{author_avatar_src}\"\
/>\ />\