|
|
|
@ -93,7 +93,7 @@ export const dom = {
|
|
|
|
|
// Support matching shorter legacy IDs in links online
|
|
|
|
|
const matches = matchIdPrefix ? '^=' : '=';
|
|
|
|
|
// Support matching room token, but only as a full match (plus symbol and hex code follows)
|
|
|
|
|
const id = communityID.includes('+') ? `${communityID}+` : communityID;
|
|
|
|
|
const id = !matchIdPrefix || communityID.includes('+') ? communityID : `${communityID}+`;
|
|
|
|
|
return document.querySelector(`.room-row[${identifier}${matches}"${communityID}"]`);
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|