[Chandler-dev] The In/Out collections

Grant Baillie grant at osafoundation.org
Fri Sep 29 09:43:48 PDT 2006


On 28 Sep, 2006, at 20:29, Morgen Sagen wrote:

> 2) Change the filter for "In" and "Out" to also examine the email  
> headers and only include those messages that are actually to or  
> from the user.  I have a feeling this will be inefficient, but  
> maybe someone can suggest a good way to implement it.

One way -- I'm not sure it ends up being any more efficient, though  
-- is to use the @schema.observer mechanism to set a "mine" boolean  
attribute on the messages, and have the filter use that. If you  
unstamp the message, though, would you expect it to stay "mine"?

--Grant



More information about the chandler-dev mailing list