Skip to content
Snippets Groups Projects
Commit 5c05c8b0 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Rebase Fixup

parent d9a2236d
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ class ActivityAdapter(AdapterBase):
def extra_kwargs(self, message_type, submission, **kwargs):
from .models import INTERNAL
if message_type in [MESSAGES.OPENED_SEALED, MESSAGES.REVIEWERS_UPDATED, MESSAGES>SCREENING]:
if message_type in [MESSAGES.OPENED_SEALED, MESSAGES.REVIEWERS_UPDATED, MESSAGES.SCREENING]:
return {'visibility': INTERNAL}
if message_type == MESSAGES.TRANSITION and not submission.phase.permissions.can_view(submission.user):
# User's shouldn't see status activity changes for stages that aren't visible to the them
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment