Room identifier max length is 36
This commit is contained in:
parent
a9847e8da7
commit
385dfea98b
@ -11,7 +11,7 @@ public class IdentifierValidator {
|
||||
}
|
||||
|
||||
public static boolean forRoom(@NotNull String roomId) {
|
||||
return roomId.matches("^(?!-)[a-z\\d-]{0,31}[a-z\\d](?!-)$");
|
||||
return roomId.matches("^(?!-)[a-z\\d-]{0,35}[a-z\\d](?!-)$");
|
||||
}
|
||||
|
||||
public static boolean forUser(@NotNull String username) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user