Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add principal match option for notification template #180

Merged

Conversation

Yaliang
Copy link
Collaborator

@Yaliang Yaliang commented Nov 16, 2018

No description provided.

{
if (userRegex.map(regex -> regex.matcher(user).matches()).orElse(true) &&
principal.map(regex -> regex.matcher(principal).matches()).orElse(true) &&
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be principalRegex.map(regex -> regex.matcher(principal).matches()).orElse(true)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@luohao luohao merged commit 621c8f8 into twitter-forks:twitter-master Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants