[Tickets #11417] Re: Toggle junk flags

bugs at horde.org bugs at horde.org
Wed Sep 12 19:18:16 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11417
------------------------------------------------------------------------------
  Ticket             | 11417
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Toggle junk flags
  Queue              | IMP
  Version            | Git master
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-09-12 13:18) wrote:

> I can report messages both a spam and ham, and end up with messages  
> having both the $Junk and $NotJunk flags set. This could happen in  
> real life scenarios, if the user accidentally reports a message a  
> spam, and then wants to revert this action by reporting them as not  
> spam.

I can't reproduce this - the code in IMP_Spam ensures that only one is  
set at any given time, e.g.:

             $imp_message->flag(array('$junk'), $indices, true);
             $imp_message->flag(array('$notjunk'), $indices, false);





More information about the bugs mailing list