From afc680ec51f250d748aec7125aab4af58db88723 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 23 Aug 2018 15:15:11 +0100 Subject: [PATCH] Make sure we notify users who haven't reviewed the submission yet --- opentech/apply/activity/messaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/activity/messaging.py b/opentech/apply/activity/messaging.py index 4721fab9e..41d9ba327 100644 --- a/opentech/apply/activity/messaging.py +++ b/opentech/apply/activity/messaging.py @@ -259,7 +259,7 @@ class EmailAdapter(AdapterBase): def reviewers(self, submission): return [ reviewer.email - for reviewer in submission.reviewers.all() + for reviewer in submission.missing_reviewers.all() if submission.phase.permissions.can_review(reviewer) ] -- GitLab