Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dojo/notifications/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ def process_tag_notifications(request, note, parent_url, parent_title):
usernames_to_check = set(un.lower() for un in regex.findall(note.entry)) # noqa: C401

users_to_notify = [
Dojo_User.objects.filter(username=username).get()
username
for username in usernames_to_check
if Dojo_User.objects.filter(is_active=True, username=username).exists()
]
Expand Down
Loading