Update space order field validity requirements to match msc update
parent
4f55ac1fa6
commit
a48d786547
|
@ -62,7 +62,7 @@ export const getOrder = (order: string, creationTs: number, roomId: string): Arr
|
||||||
|
|
||||||
if (typeof order === "string" && Array.from(order).every((c: string) => {
|
if (typeof order === "string" && Array.from(order).every((c: string) => {
|
||||||
const charCode = c.charCodeAt(0);
|
const charCode = c.charCodeAt(0);
|
||||||
return charCode >= 0x20 && charCode <= 0x7F;
|
return charCode >= 0x20 && charCode <= 0x7E;
|
||||||
})) {
|
})) {
|
||||||
validatedOrder = order;
|
validatedOrder = order;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue