Add client poking (send and receive)

Uses tsclientlib's existing MessageTarget::Poke support end to end: a
poke button on each client row opens a small compose overlay (an
optional message, like TeamSpeak's own poke), and incoming pokes show
as a dismissible, auto-expiring banner.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
MoepchiandClaude Sonnet 5 committed 2026-07-28 20:51:50 +02:00
1 parent 76cb90360c
commit ec034d2d6b
5 files changed
+214 -2

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ wss.on("connection", (socket: WebSocket) => {
await connection?.sendPrivateMessage(msg.clientId, msg.message);
break;
}
case "sendPoke": {
await connection?.sendPoke(msg.clientId, msg.message ?? "");
break;
}
case "sendAudio": {
await connection?.sendAudio(msg.pcm);
break;