summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-05-11 13:50:25 -0400
committerKali Kaneko <kali@leap.se>2016-05-12 13:17:48 -0400
commit3e33718164d91bb281c7d70b82c178a147f7cc39 (patch)
tree0597cad90bc3e5edd7100f705e55b4ad2f3ca504 /src
parentc1efe1dfb255f155306952bd2320f56a807a5c01 (diff)
[bug] Allow pixelated integration not to interfere with thunderbird0.4.2
One of the pixelated adaptors was trying to access a non-existing attribute in HashableMailbox, which for some reason was blocking the operation of the imap server (uncatched exception in listeners call maybe). adding an attribute skips this error and therefore allows seamless use of both pixelated and thunderbird user agents at the same time. Resolves: #8083
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/imap/mailbox.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py
index d545c00..e70a1d8 100644
--- a/src/leap/mail/imap/mailbox.py
+++ b/src/leap/mail/imap/mailbox.py
@@ -91,6 +91,9 @@ def make_collection_listener(mailbox):
def __init__(self, mbox):
self.mbox = mbox
+ # See #8083, pixelated adaptor seems to be misusing this class.
+ self.mailbox_name = self.mbox.mbox_name
+
def __hash__(self):
return hash(self.mbox.mbox_name)