As rfc5228 implementations MUST support the "keep", "discard", and "redirect" actions.
This commit is contained in:
the-djmaze 2023-11-23 01:46:46 +01:00
parent 0736782a44
commit bde5060008

View file

@ -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') });