Fix loading on older browsers (#424)

This commit is contained in:
Krishan authored and GitHub committed 2022-03-23 18:33:19 +05:30
1 parent 7291932a0b
commit fe997d8b01
1 file changed
+2 -2
+2 -2
View File
@@ -13,8 +13,8 @@ export function roomIdByAtoZ(aId, bId) {
// remove "#" from the room name
// To ignore it in sorting
aName = aName.replaceAll('#', '');
bName = bName.replaceAll('#', '');
aName = aName.replace(/#/g, '');
bName = bName.replace(/#/g, '');
if (aName.toLowerCase() < bName.toLowerCase()) {
return -1;