diff options
author | metamuffin <metamuffin@disroot.org> | 2024-04-29 20:12:56 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-04-29 20:14:26 +0200 |
commit | 4f926ff6baff0621e3fa0cb5873b082f9ef963b2 (patch) | |
tree | 00554f842a7e8c67ca7a5344f6eaabefcdec5bcb /client-web/source/protocol | |
parent | ec1f16b65aa731b868ab7343f9fe539aaae9202a (diff) | |
download | keks-meet-bc10954bd1b682cd6689c072cb82bce7769ba732.tar keks-meet-bc10954bd1b682cd6689c072cb82bce7769ba732.tar.bz2 keks-meet-bc10954bd1b682cd6689c072cb82bce7769ba732.tar.zst |
stream previews on requestv1.1.0
Diffstat (limited to 'client-web/source/protocol')
-rw-r--r-- | client-web/source/protocol/mod.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client-web/source/protocol/mod.ts b/client-web/source/protocol/mod.ts index 805600d..d554820 100644 --- a/client-web/source/protocol/mod.ts +++ b/client-web/source/protocol/mod.ts @@ -87,6 +87,7 @@ export class SignalingConnection { this.websocket.send(JSON.stringify(data)) } async send_relay(data: RelayMessage, recipient?: number | null) { + log("ws", "->", data, recipient ? recipient : " ") recipient ??= undefined // null -> undefined const packet: RelayMessageWrapper = { inner: data, sender: this.my_id! } const message = await encrypt(this.key!, JSON.stringify(packet)) |