Fixed message_removed signal not firing on startup. Closes #4642
This commit is contained in:
parent
7154ab1981
commit
50609c58ea
1 changed files with 3 additions and 1 deletions
|
|
@ -212,8 +212,10 @@ private class Geary.GenericImapFolder : Geary.EngineFolder {
|
|||
|
||||
// remove anything left over ... use local count rather than remote as we're still in a stage
|
||||
// where only the local messages are available
|
||||
for (; local_ctr < local_length; local_ctr++)
|
||||
for (; local_ctr < local_length; local_ctr++) {
|
||||
batch.add(new RemoveEmailOperation(local_folder, old_local[local_ctr].id));
|
||||
removed_ids.add(old_local[local_ctr].id);
|
||||
}
|
||||
|
||||
// execute them all at once
|
||||
yield batch.execute_all_async(cancellable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue