summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-11-30 12:15:09 -0400
committerKali Kaneko <kali@leap.se>2015-12-10 03:32:40 -0400
commit8d3309701af51df3046aa0df10545dfa35a64ef7 (patch)
treed628b28cb3f5b277b64fdabdac569ba67fe32512 /src/leap/bitmask/services
parent97de43f5ef1b7fa4735e3371581bfaf4c3919de3 (diff)
[feat] multi-user events.
Adapt to users emitting the userid/uuid too. - Resolves: #7656 - Releases: 0.10.0
Diffstat (limited to 'src/leap/bitmask/services')
-rw-r--r--src/leap/bitmask/services/mail/conductor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/mail/conductor.py b/src/leap/bitmask/services/mail/conductor.py
index b79ea9c7..738531e6 100644
--- a/src/leap/bitmask/services/mail/conductor.py
+++ b/src/leap/bitmask/services/mail/conductor.py
@@ -73,12 +73,13 @@ class IMAPControl(object):
self._backend.imap_stop_service()
- def _handle_imap_events(self, event, content):
+ def _handle_imap_events(self, event, userid=None, content=None):
"""
Callback handler for the IMAP events
:param event: The event that triggered the callback.
:type event: str
+ :param userid: The user id of the logged in user. Ignored.
:param content: The content of the event.
:type content: list
"""