From bde5060008eaadbbfdc3ccc19b0d4ba755ca77de Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 23 Nov 2023 01:46:46 +0100 Subject: [PATCH] Revert #1323 As rfc5228 implementations MUST support the "keep", "discard", and "redirect" actions. --- dev/Sieve/View/Filter.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dev/Sieve/View/Filter.js b/dev/Sieve/View/Filter.js index 4750429e4..14c6d0b38 100644 --- a/dev/Sieve/View/Filter.js +++ b/dev/Sieve/View/Filter.js @@ -121,12 +121,12 @@ export class FilterPopupView extends rl.pluginPopupView { name: i18nFilter('ACTION_MOVE_TO') }); } - if (capa.includes('redirect')) { - this.actionTypeOptions.push({ - id: FilterAction.Forward, - name: i18nFilter('ACTION_FORWARD_TO') - }); - } + + // redirect command + this.actionTypeOptions.push({ + id: FilterAction.Forward, + name: i18nFilter('ACTION_FORWARD_TO') + }); if (capa.includes('reject')) { this.actionTypeOptions.push({ id: FilterAction.Reject, name: i18nFilter('ACTION_REJECT') });