From 3bb1e9773f828bb73ea6ab722047c55fb4d62b9d Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Thu, 14 Feb 2019 10:44:32 -0500
Subject: sort away complogic

---
 .imapfilter/config.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to '.imapfilter')

diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 7c9dc5d..d6dc7fc 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -247,7 +247,7 @@ beldev = GMAIL.INBOX:contain_field('List-ID', 'beluga-dev.CS.McGill.CA')
 GMAIL.INBOX:move_messages(GMAIL['Internship' .. folder_sep .. 'beluga-dev'], beldev)
 
 complogic = GMAIL.INBOX:contain_field('List-Id', 'complogic.CS.McGill.CA') *
-	    GMAIL.INBOX:is_older(1)
+	    ( GMAIL.INBOX:is_older(1) + GMAIL.INBOX:is_seen() )
 GMAIL.INBOX:move_messages(GMAIL['Internship' .. folder_sep .. 'complogic'], complogic)
 
 -- MIT under GMAIL
-- 
cgit v1.2.3