-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Improve mention matches #25378
Improve mention matches #25378
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and notifications when a comment is something like Hi @user0 and @user0-2
now work 👍
Mentioning a user using quotes does not work, though. But id did not work before even for users with spaces in the name (Hello @""user0 1""
is shown in the comment), so it might be something for a different pull request.
Edit: clarification, it does not work when rendered in the comments app. But it does in the notification.
Linter says no |
Master is Nextcloud 22 now. |
/backport to stable21 |
The previous regex didn't correctly match users with . ' or - Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
46e82aa
to
9803242
Compare
The previous regex didn't correctly match users with . ' or -
Signed-off-by: Joas Schilling coding@schilljs.com