[geary/wip/131-sent-mail: 13/14] Handle headers having null date in ConversationMessage
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/131-sent-mail: 13/14] Handle headers having null date in ConversationMessage
- Date: Sat, 10 Aug 2019 02:15:15 +0000 (UTC)
commit 4109e516f0dce9087555d48e463b5667053c0a8b
Author: Michael Gratton <mike vee net>
Date: Sat Aug 10 12:08:45 2019 +1000
Handle headers having null date in ConversationMessage
src/client/conversation-viewer/conversation-message.vala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/client/conversation-viewer/conversation-message.vala
b/src/client/conversation-viewer/conversation-message.vala
index a52b6ff8..dc249191 100644
--- a/src/client/conversation-viewer/conversation-message.vala
+++ b/src/client/conversation-viewer/conversation-message.vala
@@ -434,7 +434,9 @@ public class ConversationMessage : Gtk.Grid, Geary.BaseInterface {
(MenuModel) builder.get_object("context_menu_inspector");
}
- this.local_date = headers.date.value.to_local();
+ if (headers.date != null) {
+ this.local_date = headers.date.value.to_local();
+ }
update_display();
// Compact headers. These are partially done here and partially
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]