Fixes #4981. Message flags should always be properly updated now using the message ID instead of the location table's row ID
This commit is contained in:
parent
223bb0df35
commit
d61e1b1b1d
1 changed files with 2 additions and 2 deletions
|
|
@ -505,7 +505,7 @@ private class Geary.Sqlite.Folder : Object, Geary.ReferenceSemantics {
|
|||
}
|
||||
|
||||
ImapMessagePropertiesRow? row = yield imap_message_properties_table.fetch_async(
|
||||
transaction, location_row.id, cancellable);
|
||||
transaction, location_row.message_id, cancellable);
|
||||
if (row == null)
|
||||
continue;
|
||||
|
||||
|
|
@ -534,7 +534,7 @@ private class Geary.Sqlite.Folder : Object, Geary.ReferenceSemantics {
|
|||
|
||||
Geary.Imap.MessageFlags flags = ((Geary.Imap.EmailFlags) map.get(id)).message_flags;
|
||||
|
||||
yield imap_message_properties_table.update_flags_async(transaction, location_row.id,
|
||||
yield imap_message_properties_table.update_flags_async(transaction, location_row.message_id,
|
||||
flags.serialize(), cancellable);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue