From 1246e25aa2e6acd0e12f145a0330922aa076b683 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 15 May 2017 12:46:07 +0200 Subject: [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 --- src/leap/bitmask/mail/incoming/service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3