mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
Drop unsafe version of dc_get_abs_path
This commit is contained in:
@@ -183,7 +183,7 @@ impl Chat {
|
||||
pub fn get_profile_image(&self, context: &Context) -> Option<PathBuf> {
|
||||
if let Some(image_rel) = self.param.get(Param::ProfileImage) {
|
||||
if !image_rel.is_empty() {
|
||||
return Some(dc_get_abs_path_safe(context, image_rel));
|
||||
return Some(dc_get_abs_path(context, image_rel));
|
||||
}
|
||||
} else if self.typ == Chattype::Single {
|
||||
let contacts = get_chat_contacts(context, self.id);
|
||||
|
||||
Reference in New Issue
Block a user