mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Merge pull request #478 from deltachat/fix477
fix crash when msg_raw is None
This commit is contained in:
@@ -642,7 +642,7 @@ unsafe fn add_parts(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if part.type_0 == Viewtype::Text {
|
if part.type_0 == Viewtype::Text {
|
||||||
let msg_raw = CString::yolo(part.msg_raw.as_ref().unwrap().clone());
|
let msg_raw = CString::yolo(part.msg_raw.as_ref().cloned().unwrap_or_default());
|
||||||
let subject_c = CString::yolo(
|
let subject_c = CString::yolo(
|
||||||
mime_parser
|
mime_parser
|
||||||
.subject
|
.subject
|
||||||
|
|||||||
Reference in New Issue
Block a user