diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-15 12:46:07 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-05-16 19:28:38 +0200 |
commit | 1246e25aa2e6acd0e12f145a0330922aa076b683 (patch) | |
tree | 7eeb068b728cccfee406bff0725a1940020d6955 /src/leap/bitmask/mail | |
parent | c980cae46d101c0def23bf3398b65b2e0c614d2a (diff) |
[bug] allow incoming mail to be properly notified to pixelated
If we do fast-notifies with pixelated running, the poll notifications
for new mail on inbox break on pixelated side, because the email is not
ready.
- Related: #8798
Diffstat (limited to 'src/leap/bitmask/mail')
-rw-r--r-- | src/leap/bitmask/mail/incoming/service.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py index 7c7e7f2c..1b132cdc 100644 --- a/src/leap/bitmask/mail/incoming/service.py +++ b/src/leap/bitmask/mail/incoming/service.py @@ -845,9 +845,10 @@ class IncomingMail(Service): d.addCallback(signal_deleted) return d + # Cannot do fast notifies, otherwise fucks with pixelated. d = self._inbox_collection.add_msg( raw_data, (self.RECENT_FLAG,), date=insertion_date, - notify_just_mdoc=True) + notify_just_mdoc=False) d.addCallbacks(msgSavedCallback, self._errback) return d |