Commit 309bc741 authored by Florian Fuchs's avatar Florian Fuchs

* added list_id property to _List class

parent dcdd21c3
......@@ -318,6 +318,11 @@ class _List:
self._get_info()
return self._info['mail_host']
@property
def list_id(self):
self._get_info()
return self._info['list_id']
@property
def list_name(self):
self._get_info()
......@@ -423,7 +428,7 @@ class _List:
:return: A member proxy object.
"""
data = dict(
list_id=re.sub(r'@', '.', self.fqdn_listname),
list_id=self.list_id,
subscriber=address,
display_name=display_name,
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment