From 68909736019efab6a8ba78196d6f1bd09ff0b47a Mon Sep 17 00:00:00 2001 From: Flemmli97 <34157027+Flemmli97@users.noreply.github.com> Date: Thu, 23 May 2024 16:43:07 +0200 Subject: [PATCH] fix(chat): Dont stop profile fetching when one errors (#1979) --- common/src/profile_update_channel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/profile_update_channel.rs b/common/src/profile_update_channel.rs index 4d793b9844a..848697802f3 100644 --- a/common/src/profile_update_channel.rs +++ b/common/src/profile_update_channel.rs @@ -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(); @@ -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() {