mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 09:52:50 +08:00
Add Favoriten menu, Away/AFK status, and mic/output mute toggles
Implements the real TS3 client's Favoriten menu (add/manage/list, with a FavoritesDialog), the toolbar Away/AFK dropdown with saved presets and an AwayDialog, plus input/output mute toggle buttons on the toolbar. Reorders the toolbar to AFK -> Mic -> Speaker -> Theme and removes the standalone Connect button in favor of the Verbindungen menu.
This commit is contained in:
1 parent
53e2887e14
commit
3715a52de6
5 files changed
+824
-44
No files matched your search
@@ -51,6 +51,18 @@ wss.on("connection", (socket: WebSocket) => {
|
||||
await connection?.sendAudio(msg.pcm);
|
||||
break;
|
||||
}
|
||||
case "setAway": {
|
||||
await connection?.setAway(msg.away, msg.message ?? "");
|
||||
break;
|
||||
}
|
||||
case "setInputMuted": {
|
||||
await connection?.setInputMuted(msg.muted);
|
||||
break;
|
||||
}
|
||||
case "setOutputMuted": {
|
||||
await connection?.setOutputMuted(msg.muted);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
socket.send(
|
||||
JSON.stringify({ type: "error", message: `Unknown message type: ${msg.type}` })
|
||||
|
||||
Reference in new issue
Block a user