Handle null subject properly; fix #7326
This commit is contained in:
parent
520f32ff6c
commit
dfb2d126d9
1 changed files with 1 additions and 1 deletions
|
|
@ -678,7 +678,7 @@ public class Geary.RFC822.Message : BaseObject {
|
|||
GMime.ContentEncoding.BINARY); // Equivalent to no encoding
|
||||
GMime.Part part = new GMime.Part.with_type("message", "rfc822");
|
||||
part.set_content_object(data);
|
||||
part.set_filename(message.get_subject() + ".eml");
|
||||
part.set_filename((message.get_subject() ?? _("(no subject)")) + ".eml");
|
||||
attachments.add(part);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue