This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 718b6d74f65dbbe0aaa783bee3ac11471cce0e4c Author: Daniel Gruno <[email protected]> AuthorDate: Mon Mar 29 11:43:52 2021 +0200 don't thread in deleted emails --- server/plugins/mbox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/plugins/mbox.py b/server/plugins/mbox.py index e89cfe2..9e54f0a 100644 --- a/server/plugins/mbox.py +++ b/server/plugins/mbox.py @@ -143,6 +143,8 @@ async def fetch_children(session, pdoc, counter=0, pdocs=None, short=False): emails = [] for doc in docs or []: # Make sure email is accessible + if doc.get("deleted"): + continue if plugins.aaa.can_access_email(session, doc): if doc["mid"] not in pdocs: mykids, myemails, pdocs = await fetch_children(
