diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-01-12 15:19:02 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-02-09 12:00:57 +0100 |
commit | 15662055b24b1bf4b6007a6a07b642234b264521 (patch) | |
tree | 77762b106364c8ff9103d0c836fe7fc6977664ea /src/leap/bitmask/core/dispatcher.py | |
parent | 776febf6970deeef999255392c6480d1ff34c6f6 (diff) |
[feat] Get more detailed status report for email
- Resolves: #8754
Diffstat (limited to 'src/leap/bitmask/core/dispatcher.py')
-rw-r--r-- | src/leap/bitmask/core/dispatcher.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index f96bd457..7c1cdbd4 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -229,7 +229,10 @@ class MailCmd(SubCommand): @register_method('dict') def do_STATUS(self, mail, *parts, **kw): - d = mail.do_status() + userid = None + if len(parts) > 2: + userid = parts[2] + d = mail.do_status(userid) return d @register_method('dict') |