From a0237de8ef9292cc8dfe5ee728ad37ec5560a1f8 Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Fri, 22 Feb 2019 14:24:45 +0000
Subject: [PATCH] Add batch reviewers to the list of internal activities

---
 opentech/apply/activity/messaging.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/opentech/apply/activity/messaging.py b/opentech/apply/activity/messaging.py
index 305b9cc58..410afbed1 100644
--- a/opentech/apply/activity/messaging.py
+++ b/opentech/apply/activity/messaging.py
@@ -212,7 +212,13 @@ class ActivityAdapter(AdapterBase):
 
     def extra_kwargs(self, message_type, submission, submissions, **kwargs):
         from .models import INTERNAL
-        if message_type in [MESSAGES.OPENED_SEALED, MESSAGES.REVIEWERS_UPDATED, MESSAGES.SCREENING, MESSAGES.REVIEW_OPINION]:
+        if message_type in [
+                MESSAGES.OPENED_SEALED,
+                MESSAGES.REVIEWERS_UPDATED,
+                MESSAGES.SCREENING,
+                MESSAGES.REVIEW_OPINION,
+                MESSAGES.BATCH_REVIEWERS_UPDATED,
+        ]:
             return {'visibility': INTERNAL}
 
         submission = submission or submissions[0]
-- 
GitLab