summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/maildirproc/default.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/maildirproc/default.rc b/.config/maildirproc/default.rc
index c4e8cdc..2941bd1 100644
--- a/.config/maildirproc/default.rc
+++ b/.config/maildirproc/default.rc
@@ -180,7 +180,7 @@ def my_filters(mail):
"parsonstjade@gmail.com",
"jadparso@umail.iu.edu",
]:
- if mail["From"].contains(address):
+ if is_to_or_from(mail,address):
mail.move(".misc.Jade")
return