Excerpts from Ian Taylor's message of Fri Nov 02 11:14:55 +1100 2007:
>
> That doesn't seem quite right to me. The RFC seems to state that the
> 'Recent' flag is more of a notification that this is the first session
> to see the message.
>
> What about this instead?
>
> labels = { :Flagged => :starred,
> :Deleted => :deleted
> }.inject(@labels) do |cur, (imap, sup)|
> cur + (state[:flags].include?(imap) ? [sup] : [])
> end
> labels += [:unread] unless state[:flags].include?(:Seen)
>
> Seems like we want to tag it as unread if it isn't marked as 'Seen'.
Works for me. Thanks
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk