diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-24 14:22:26 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-24 14:59:50 +0200 |
commit | 37b25fd88400df8cc726470b5d897111f2373b96 (patch) | |
tree | 1c76ce8afe0d788d137229f46e3b99bbed982a5f /src/leap/bitmask/mail/incoming | |
parent | 0bba2d84a584396e888d1f4cd0d0011f5137ab8b (diff) |
[refactor] simplify wrapper create and add_msg
- remove premature optimization for fast-notifies. blobs will cover
that, no point in maintaning the optimization at the price of creeping
complexity.
Diffstat (limited to 'src/leap/bitmask/mail/incoming')
-rw-r--r-- | src/leap/bitmask/mail/incoming/service.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py index f1f4ab2..6a5d7fe 100644 --- a/src/leap/bitmask/mail/incoming/service.py +++ b/src/leap/bitmask/mail/incoming/service.py @@ -847,8 +847,7 @@ class IncomingMail(Service): # 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=False) + raw_data, (self.RECENT_FLAG,), date=insertion_date) d.addCallbacks(msgSavedCallback, self._errback) return d |