[refactory] no magic number
This commit is contained in:
parent
f77d4db6dc
commit
8c75a9d12b
@ -19,7 +19,7 @@ function unmask_room_name(name: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (name.startsWith('costum-room#')) {
|
if (name.startsWith('costum-room#')) {
|
||||||
return name.substring(12);
|
return name.substring('costum-room#'.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user