forked from Fachschaft/nixConfig
22 lines
971 B
Diff
22 lines
971 B
Diff
diff --git a/src/runtime/actions/action_redirect.rs b/src/runtime/actions/action_redirect.rs
|
|
index 5b4599d..bfb46b0 100644
|
|
--- a/src/runtime/actions/action_redirect.rs
|
|
+++ b/src/runtime/actions/action_redirect.rs
|
|
@@ -41,17 +41,6 @@ impl Redirect {
|
|
.count()
|
|
< ctx.runtime.max_received_headers
|
|
{
|
|
- // Try to avoid forwarding loops
|
|
- if !self.list
|
|
- && (address.eq_ignore_ascii_case(ctx.user_address.as_ref())
|
|
- || ctx.envelope.iter().any(|(e, v)| {
|
|
- matches!(e, Envelope::From)
|
|
- && v.to_string().eq_ignore_ascii_case(address.as_str())
|
|
- }))
|
|
- {
|
|
- return;
|
|
- }
|
|
-
|
|
if !self.copy && matches!(&ctx.final_event, Some(Event::Keep { .. })) {
|
|
ctx.final_event = None;
|
|
}
|