|
|
|
@ -76,6 +76,10 @@ export class RoomInfo {
|
|
|
|
|
const room = _RoomInfo.getRoom(identifier);
|
|
|
|
|
return new Date(room.created * 1000);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static getRoomServerId(identifier) {
|
|
|
|
|
return identifier.split("+")[1];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const dom = {
|
|
|
|
@ -255,7 +259,7 @@ const TRANSFORMATION = {
|
|
|
|
|
getName: (_, row) => dom.row_info(row).name.toLowerCase(),
|
|
|
|
|
getServerId: (_, row) => {
|
|
|
|
|
const rowInfo = dom.row_info(row);
|
|
|
|
|
return `${rowInfo.public_key}${rowInfo.join_link}`;
|
|
|
|
|
return RoomInfo.getRoomServerId(rowInfo.identifier);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -295,4 +299,3 @@ export const element = new Proxy({}, {
|
|
|
|
|
return (...args) => createElement(key, ...args)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|