Skip to content

Commit

Permalink
html: fix profile pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Jan 24, 2024
1 parent 939e12d commit 6f6309a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ fn get_profile_render_data(
let about = profile.about().unwrap_or("").to_string();
let display_name = profile.display_name().as_ref().map(|a| a.to_string());
let pfp = app.default_pfp.clone();
let pfp_url = "https://damus.io/img/no-profile.svg".to_owned();
let pfp_url = profile
.picture()
.unwrap_or("https://damus.io/img/no-profile.svg")
.to_string();

Ok(ProfileRenderData {
name,
Expand Down

0 comments on commit 6f6309a

Please sign in to comment.