html: fix profile pictures
This commit is contained in:
parent
939e12dc73
commit
6f6309acd4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue