From 37b25fd88400df8cc726470b5d897111f2373b96 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 24 May 2017 14:22:26 +0200 Subject: [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. --- src/leap/bitmask/mua/pixelizer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/leap/bitmask/mua') diff --git a/src/leap/bitmask/mua/pixelizer.py b/src/leap/bitmask/mua/pixelizer.py index 138774b0..98333bd2 100644 --- a/src/leap/bitmask/mua/pixelizer.py +++ b/src/leap/bitmask/mua/pixelizer.py @@ -78,8 +78,7 @@ try: flags = ['\\Recent'] if mailbox_name.lower() == 'sent': flags += '\\Seen' - message = yield mailbox.add_msg( - raw_msg, tuple(flags), notify_just_mdoc=False) + message = yield mailbox.add_msg(raw_msg, tuple(flags)) # this still needs the pixelated interface because it does stuff # like indexing the mail in whoosh, etc. -- cgit v1.2.3