[PATCH] notify: Send vote reminders to TUs that are also devs as well

Johannes Löthberg johannes at kyriasis.com
Tue Mar 13 20:04:31 UTC 2018


Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
 aurweb/scripts/notify.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aurweb/scripts/notify.py b/aurweb/scripts/notify.py
index 2d0f757..693abff 100755
--- a/aurweb/scripts/notify.py
+++ b/aurweb/scripts/notify.py
@@ -140,7 +140,7 @@ def get_request_recipients(conn, reqid):
 
 def get_tu_vote_reminder_recipients(conn, vote_id):
     cur = conn.execute('SELECT Email FROM Users ' +
-                       'WHERE AccountTypeID = 2 AND ID NOT IN ' +
+                       'WHERE AccountTypeID IN (2, 4) AND ID NOT IN ' +
                        '(SELECT UserID FROM TU_Votes ' +
                        'WHERE TU_Votes.VoteID = ?)', [vote_id])
     return [row[0] for row in cur.fetchall()]
-- 
2.16.2


More information about the aur-dev mailing list