Skip to content
Snippets Groups Projects
Unverified Commit c4a6ffdd authored by Felipe Parreira's avatar Felipe Parreira Committed by GitHub
Browse files

[FIX] invite-all-from and invite-all-to commands don't work with multibyte room names (#18919)

parent 6a4f474e
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ function inviteAll(type) {
return;
}
const regexp = /#?([\d-_\w]+)/g;
const regexp = /#?([^\s,.:;"']+)(?=[\s,.:;"']|$)/g;
const [, channel] = regexp.exec(params.trim());
if (!channel) {
......
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