89
84
public Geary.Email? preview { get; private set; default = null; }
91
86
private Geary.App.Conversation? conversation = null;
93
88
private bool use_to = true;
94
89
private CountBadge count_badge = new CountBadge(2);
96
91
// Creates a formatted message data from an e-mail.
97
92
public FormattedConversationData(Geary.App.Conversation conversation, Geary.Email preview,
99
94
assert(preview.fields.fulfills(ConversationListStore.REQUIRED_FIELDS));
101
96
this.conversation = conversation;
103
98
use_to = (folder != null) && folder.special_folder_type.is_outgoing();
105
100
// Load preview-related data.