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
The following commit(s) were added to refs/heads/master by this push:
new 1d9b699 Allow for list-id specification here as well
1d9b699 is described below
commit 1d9b6990a6431f98903e4f0b4b6d3339b6c5627b
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Dec 29 18:10:25 2021 +0100
Allow for list-id specification here as well
---
server/endpoints/email.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/endpoints/email.py b/server/endpoints/email.py
index 22f2343..f23508e 100644
--- a/server/endpoints/email.py
+++ b/server/endpoints/email.py
@@ -37,7 +37,7 @@ 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"))
+ email = await plugins.messages.get_email(session,
messageid=indata.get("id"), listid=indata.get("list", ""))
if email is None:
return aiohttp.web.Response(headers={}, status=404, text="Email not
found")