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 9e396e5e49e817a808373ce60040b4c51e8ae1d2 Author: Sebb <[email protected]> AuthorDate: Thu Dec 30 02:26:21 2021 +0000 Use listid here as well When searching by message-id, must use listid for disambiguation --- server/endpoints/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/endpoints/source.py b/server/endpoints/source.py index d99fdd9..ce25d68 100644 --- a/server/endpoints/source.py +++ b/server/endpoints/source.py @@ -32,7 +32,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 and isinstance(email, dict) and not email.get("deleted"): if plugins.aaa.can_access_email(session, email):
