Skip to content

Commit

Permalink
fix(chat): Dont stop profile fetching when one errors (#1979)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flemmli97 authored May 23, 2024
1 parent 385d787 commit 6890973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/src/profile_update_channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub fn fetch_identity_data(identities: &[Identity]) {
Ok(res) => res.ok(),
Err(e) => {
log::error!("error fetching profile pic {e}");
return;
Option::None
}
};
let (tx, rx) = oneshot::channel();
Expand All @@ -59,7 +59,7 @@ pub fn fetch_identity_data(identities: &[Identity]) {
Ok(res) => res.ok(),
Err(e) => {
log::error!("error fetching profile banner {e}");
return;
Option::None
}
};
if profile_picture.is_some() || profile_banner.is_some() {
Expand Down

0 comments on commit 6890973

Please sign in to comment.