You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/05/14 21:41:33 UTC

[incubator-ponymail-foal] branch master updated: Fix method name

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


The following commit(s) were added to refs/heads/master by this push:
     new 3418cf7  Fix method name
3418cf7 is described below

commit 3418cf7df7e04af407d17c28776328984814b9f6
Author: Sebb <se...@apache.org>
AuthorDate: Fri May 14 22:41:17 2021 +0100

    Fix method name
---
 server/plugins/mbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/mbox.py b/server/plugins/mbox.py
index 7952a37..73095d0 100644
--- a/server/plugins/mbox.py
+++ b/server/plugins/mbox.py
@@ -394,7 +394,7 @@ async def get_list_stats(session, maxage="90d", admin=False):
         if (
             is_public(session, listname)
             or admin
-            or plugins.aaa.canViewList(session, listname)
+            or plugins.aaa.can_access_list(session, listname)
         ):
             # Change foo.bar.baz to foo@bar.baz
             listname = listname.replace(".", "@", 1)