Geary.ImapDB.Folder: Fix duplication checking when updating message data
Duplication check when Message-ID was present was using string not RFC822 form.
This commit is contained in:
parent
eb3a8b0fe4
commit
e05efff7e0
1 changed files with 3 additions and 2 deletions
|
|
@ -1473,8 +1473,9 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
|
|||
|
||||
stmt.bind_string(0, internaldate);
|
||||
stmt.bind_int64(1, rfc822_size);
|
||||
if (email.message_id != null)
|
||||
stmt.bind_string(2, email.message_id.to_string());
|
||||
if (email.message_id != null) {
|
||||
stmt.bind_string(2, email.message_id.to_rfc822_string());
|
||||
}
|
||||
|
||||
Db.Result results = stmt.exec(cancellable);
|
||||
if (!results.finished) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue