Hi,
I'm trying to add Custom Filters to my extension, but I run into
problems. I want the Filters to be only available for Inbox/mail and
thought I could use the isValidForType function for that.
>From what I understand the type should be set to any value defined in
nsMsgFilterCore.idl, but I only get the value 0 for both filters on a
mail folder as for filters on a news account.
I also notice that when I go to the Message Filters definition that the
function isValidForType is called twice. I don't understand why this is
happening.
isValidForType has scope as its second parameter, but I cannot find any
documentation on that either...
Can someone please help me with the problems mentioned above me in
adding custom filters to my extension?
Onno