[TB] Changes to filter/action are not persistent

Talk about add-ons and extension development.
Post Reply
boltrevor
Posts: 134
Joined: June 1st, 2010, 8:19 am

[TB] Changes to filter/action are not persistent

Post by boltrevor »

Hi,

In one of my extension, i handle filters which are defined by the user in classic way (through the menu "message filters").
The addon reads the filters and makes some modification to action of these filters.

The issue is that these modifications are taken into account through the current session only.
If TB is restarted then modifications are not taken into account.
What is awkward is that if the message filters dialog is opened and the filter is edited, then modifications of the filter can be seen, and closing the dialog seems to validate definitely these modifications, because then they are taken into accounts.

All acts like if modifications were saved but not validated.

Cannot find anything in nsIMsgRuleActio, nsIMsgFilter, nsIMsgFilterList which would re-validate the modifications.

Any hint please?

Thanks in advance.
Post Reply