diff options
author | tpart <tpart120@proton.me> | 2023-06-24 22:22:33 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2023-06-24 22:22:33 +0200 |
commit | 466aee544b95a866305731df4642927583d4eb90 (patch) | |
tree | e150ec304e65ed8d90cdb5b8e1fdce85df41137c /client-web/source/room.ts | |
parent | ea501df4775cb2686ef5f2e2bbee1d5c69d00941 (diff) | |
parent | e3d056a8807d52f95b7df9537ce931925b00d98f (diff) | |
download | keks-meet-466aee544b95a866305731df4642927583d4eb90.tar keks-meet-466aee544b95a866305731df4642927583d4eb90.tar.bz2 keks-meet-466aee544b95a866305731df4642927583d4eb90.tar.zst |
Merge branch 'master' of codeberg.org:metamuffin/keks-meet
Diffstat (limited to 'client-web/source/room.ts')
-rw-r--r-- | client-web/source/room.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client-web/source/room.ts b/client-web/source/room.ts index 27d2327..3bd27c2 100644 --- a/client-web/source/room.ts +++ b/client-web/source/room.ts @@ -11,16 +11,19 @@ import { LocalUser } from "./user/local.ts"; import { ClientboundPacket, RelayMessage } from "../../common/packets.d.ts"; import { SignalingConnection } from "./protocol/mod.ts"; import { Chat } from "./chat.ts"; +import { ediv } from "./helper.ts"; export class Room { public remote_users: Map<number, RemoteUser> = new Map() public local_user!: LocalUser public my_id!: number public chat: Chat = new Chat(this) + public element: HTMLElement public on_ready = () => { }; constructor(public signaling: SignalingConnection, public rtc_config: RTCConfiguration) { + this.element = ediv({ class: "room", aria_label: "user list" }) this.signaling.control_handler = (a) => this.control_handler(a) this.signaling.relay_handler = (a, b) => this.relay_handler(a, b) } |