Engine implementation of conversations: #3808

This introduces Geary.Conversations into the API, which scans a Folder and arranges the
messages into threaded conversations.
This commit is contained in:
Jim Nelson 2011-10-21 17:04:33 -07:00
parent 8ab948bce4
commit cd0b926d57
13 changed files with 731 additions and 27 deletions

View file

@ -102,9 +102,11 @@ private class Geary.Sqlite.Folder : Geary.AbstractFolder, Geary.LocalFolder, Gea
id.uid.to_string(), to_string());
}
// TODO: Also check by Message-ID (and perhaps other EmailProperties) to link an existing
// message in the database to this Folder
message_id = yield message_table.create_async(transaction,
new MessageRow.from_email(message_table, email),
cancellable);
new MessageRow.from_email(message_table, email), cancellable);
// create the message location in the location lookup table using its UID for the ordering
// (which fulfills the requirements for the ordering column)