summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-12-08 19:27:42 +0100
committerKali Kaneko <kali@leap.se>2017-12-20 15:27:07 +0100
commitcaf3e217935faabc6d47672b058e7c8eb0cb5a63 (patch)
tree3291a6bdb0b5f70ecd8858cc8486bfa6098de35c /src/leap/bitmask/mail
parentd2e5f8406b6101971c196f40e39322e36d6bdb33 (diff)
[bug] accept message-ids with '-'
Thunderbird produces message ids with '-' in them.
Diffstat (limited to 'src/leap/bitmask/mail')
-rw-r--r--src/leap/bitmask/mail/adaptors/soledad.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/mail/adaptors/soledad.py b/src/leap/bitmask/mail/adaptors/soledad.py
index 56bca363..3cadf5d2 100644
--- a/src/leap/bitmask/mail/adaptors/soledad.py
+++ b/src/leap/bitmask/mail/adaptors/soledad.py
@@ -45,7 +45,7 @@ from leap.soledad.common.document import SoledadDocument
# [ ] Convenience function to create mail specifying subject, date, etc?
-_MSGID_PATTERN = r"""<([\w@.]+)>"""
+_MSGID_PATTERN = r"""<([\w\-@.]+)>"""
_MSGID_RE = re.compile(_MSGID_PATTERN)