Fix notifications in imp
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Aug 2009 00:15:27 +0000 (18:15 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Aug 2009 15:37:03 +0000 (09:37 -0600)
imp/lib/Notification/Listener/Status.php

index 8361588..a49ac98 100644 (file)
@@ -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) {