• Michael Gratton's avatar
    Ensure conversations that have no email in the base folder are dropped · 9619d18e
    Michael Gratton authored
    If a least one email in a conversation that is in the base folder but
    also in another is removed from the base folder, the conversation may
    not be removed from the monitor despite possibly not having any email
    in the base folder, since the email may not have been completely removed
    from the conversation.
    
    This was particulary being seen with GMail accounts where even single
    message conversations were not disappering when trashed because the
    converation's email was still in All Mail.
    
    This fix does a few things: Avoids hitting the database when checking
    a conversation still has email in the base folder, when it does check
    only ensures that email are in the base folder, not *any* folder, and
    updates ConversationSet::remove_all_emails_by_identifier to do this
    check iternally, clean up its API and implementation and avoids having
    to use out args calling it.
    9619d18e
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
bindings/vapi Loading commit data...
build-aux Loading commit data...
debian Loading commit data...
desktop Loading commit data...
help Loading commit data...
icons Loading commit data...
po Loading commit data...
sql Loading commit data...
src Loading commit data...
test Loading commit data...
ui Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.icons Loading commit data...
COPYING.snowball Loading commit data...
INSTALL Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
THANKS Loading commit data...
geary.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
org.gnome.Geary.json Loading commit data...