From 66d8657d084d6d56292061beb4912e307a047e9e Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 10 Aug 2009 18:15:27 -0600 Subject: [PATCH] Fix notifications in imp --- imp/lib/Notification/Listener/Status.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imp/lib/Notification/Listener/Status.php b/imp/lib/Notification/Listener/Status.php index 8361588a3..a49ac986f 100644 --- a/imp/lib/Notification/Listener/Status.php +++ b/imp/lib/Notification/Listener/Status.php @@ -70,7 +70,9 @@ class IMP_Notification_Listener_Status extends Horde_Notification_Listener_Statu */ public function notify(&$messageStack, $options = array()) { - $options['store'] = true; + if ($this->_viewmode == 'dimp') { + $options['store'] = true; + } /* Display IMAP alerts. */ foreach ($GLOBALS['imp_imap']->ob->alerts() as $alert) { -- 2.11.0