Skip to content

Commit

Permalink
修复聊天室艾特不了带横线username的人
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Nov 15, 2024
1 parent c95dfc8 commit 07c66eb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ public class ChatroomProcessor {
*/
private static final Logger LOGGER = LogManager.getLogger(ChatroomProcessor.class);

private static final Pattern AT_USER_PATTERN = Pattern.compile("(@)([a-zA-Z0-9 ]+)");

private static final Pattern AT_USER_PATTERN = Pattern.compile("(@)([a-zA-Z0-9- ]+)");

private static final String PARTICIPANTS = "participants";

Expand Down

0 comments on commit 07c66eb

Please sign in to comment.