Remove auth/connect error beeps
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Maintainer-controlled web client version.
|
||||
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
||||
window.CHGRID_WEB_VERSION = "2026.02.25 R254";
|
||||
window.CHGRID_WEB_VERSION = "2026.02.25 R255";
|
||||
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
||||
window.CHGRID_TIME_ZONE = "America/Detroit";
|
||||
|
||||
@@ -1428,7 +1428,6 @@ function sendAuthRequest(): void {
|
||||
const packet = buildAuthRequestPacket();
|
||||
if (!packet) {
|
||||
setConnectionStatus('Enter username and password.');
|
||||
audio.sfxUiCancel();
|
||||
mediaSession.setConnecting(false);
|
||||
updateConnectAvailability();
|
||||
signaling.disconnect();
|
||||
@@ -1459,9 +1458,6 @@ async function handleAuthResult(message: Extract<IncomingMessage, { type: 'auth_
|
||||
settings.saveAuthSessionToken('');
|
||||
}
|
||||
setConnectionStatus(message.message);
|
||||
if (message.message.trim().toLowerCase() !== 'invalid username or password.') {
|
||||
audio.sfxUiCancel();
|
||||
}
|
||||
mediaSession.setConnecting(false);
|
||||
updateConnectAvailability();
|
||||
signaling.disconnect();
|
||||
|
||||
@@ -98,7 +98,6 @@ export function createOnMessageHandler(deps: MessageHandlerDeps): (message: Inco
|
||||
const schemaReady = deps.applyServerItemUiDefinitions(message.uiDefinitions);
|
||||
if (!schemaReady) {
|
||||
deps.updateStatus('Item schema missing from server. Item menus unavailable.');
|
||||
deps.audioUiCancel();
|
||||
}
|
||||
deps.state.addItemTypeIndex = 0;
|
||||
deps.state.player.id = message.id;
|
||||
|
||||
Reference in New Issue
Block a user