Update all non-major dependencies (#12815)

* Update all non-major dependencies

* Prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot] 2024-07-24 10:53:13 +00:00 committed by GitHub
parent 57f30f18d0
commit bacf738ac8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 33 additions and 49 deletions

View file

@ -62,9 +62,9 @@ const findRoom = (roomIdOrAlias: string): Room | null => {
const client = MatrixClientPeg.safeGet();
return roomIdOrAlias[0] === "#"
? client.getRooms().find((r) => {
? (client.getRooms().find((r) => {
return r.getCanonicalAlias() === roomIdOrAlias || r.getAltAliases().includes(roomIdOrAlias);
}) ?? null
}) ?? null)
: client.getRoom(roomIdOrAlias);
};