From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Mon, 05 Nov 2007 07:38:45 -0800 Subject: [sup-talk] [PATCH] New hook (enabling message filters) In-Reply-To: <1194274725-sup-5324@tomsk> References: <47188C6F.30008@quintic.co.uk> <4d4780f700181787@IMSS-WIN> <4d6e9e1600182d59@IMSS-WIN> <4718B60F.1090208@quintic.co.uk> <1194230448-sup-727@south> <1194274725-sup-5324@tomsk> Message-ID: <1194277062-sup-3404@south> Excerpts from Marcus Williams's message of Mon Nov 05 07:03:40 -0800 2007: > What I really want to do is get the inbox mode to do handle the cases > when the hook adds the spam/deleted/starred/archive labels. What I > mean is, if the hook adds a spam label then I dont want it to appear > in the inbox. Try modifying InboxMode#is_relevant? (called by ThreadIndexMode#handle_add_update). -- William