mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
Bridge command author metadata to Matrix
This commit is contained in:
parent
4b7593d630
commit
42bfd034cf
3 changed files with 7 additions and 3 deletions
|
@ -39,7 +39,7 @@ async function getCachedHierarchy(spaceID) {
|
|||
/** @type {{name: string, value: string}[]} */
|
||||
const childRooms = []
|
||||
for (const room of result) {
|
||||
if (room.name) {
|
||||
if (room.name && !room.name.match(/^\[[⛓️🔊]\]/) && room.room_type !== "m.space") {
|
||||
childRooms.push({name: room.name, value: room.room_id})
|
||||
reverseCache.set(room.room_id, spaceID)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue