Revert unwanted folder property update

This commit is contained in:
Chris Heywood 2020-01-10 08:22:23 +01:00
parent 187d613391
commit 8cb8343366
3 changed files with 1 additions and 6 deletions

View file

@ -210,6 +210,7 @@ public class Geary.AccountInformation : BaseObject {
default = new Gee.LinkedList<Geary.RFC822.MailboxAddress>();
}
/**
* Emitted when a service has reported an authentication failure.
*

View file

@ -364,7 +364,6 @@ public abstract class Geary.Folder : BaseObject, Logging.Source {
*/
public signal void email_removed(Gee.Collection<Geary.EmailIdentifier> ids);
/**
* Fired when emails are removed from the local folder.
*/

View file

@ -954,11 +954,6 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
stmt.exec(cancellable);
}
// Update local message count
this.properties.set_status_message_count(
this.properties.email_total - deleted_email_ids.size, true
);
return Db.TransactionOutcome.COMMIT;
} else {
return Db.TransactionOutcome.DONE;