aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-09-07 00:01:27 +0200
committermetamuffin <metamuffin@disroot.org>2023-09-07 00:01:27 +0200
commit6f644481f397af070e2b91b69846e375caafdbda (patch)
tree330bdaec6d7e2712e9694faeb7a2e11cc022daf3 /common
parentbf434555952b3788185a1a875955fa1acbf170b3 (diff)
downloadkeks-meet-6f644481f397af070e2b91b69846e375caafdbda.tar
keks-meet-6f644481f397af070e2b91b69846e375caafdbda.tar.bz2
keks-meet-6f644481f397af070e2b91b69846e375caafdbda.tar.zst
prepare for room watches
Diffstat (limited to 'common')
-rw-r--r--common/packets.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/packets.d.ts b/common/packets.d.ts
index 75e7c8e..8bec80a 100644
--- a/common/packets.d.ts
+++ b/common/packets.d.ts
@@ -18,11 +18,13 @@ export interface ClientboundPacket {
client_join?: { id: number } // join: more like "appear" - also sent when you join for others that were there before you.
client_leave?: { id: number }
message?: { sender: number, message: string /* encrypted RelayMessageWrapper */ }
+ room_info?: { hash: string, user_count: number }
}
export interface ServerboundPacket {
ping?: null
relay?: { recipient?: number, message: string /* encrypted RelayMessageWrapper */ }
+ watch_rooms?: string[]
}
export interface RelayMessageWrapper {