This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 5c431f1e3a173181c10fde021ec760e46691eacf Author: Sebb <[email protected]> AuthorDate: Tue Jan 4 01:41:31 2022 +0000 Broken; also not a proper solution --- server/endpoints/source.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/endpoints/source.py b/server/endpoints/source.py index 9fa1b3e..0a071b4 100644 --- a/server/endpoints/source.py +++ b/server/endpoints/source.py @@ -34,9 +34,6 @@ async def process( # If not found via permalink, it might be message-id instead, so try that if email is None: email = await plugins.messages.get_email(session, messageid=indata.get("id"), listid=listid) - if not email and ' ' in mailid: # only try again if we need to due to space in url - mailid = mailid.replace(" ", "+") - email = await plugins.messages.get_email(session, messageid=indata.get("id"), listid=listid) if email and isinstance(email, dict) and not email.get("deleted"): if plugins.aaa.can_access_email(session, email):
