Revert unwanted folder property update
This commit is contained in:
parent
187d613391
commit
8cb8343366
3 changed files with 1 additions and 6 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue