From 1353b5915c1a0069a9b1c2a24fdc11256ec486e2 Mon Sep 17 00:00:00 2001 From: kshitijanurag Date: Fri, 27 Feb 2026 18:04:09 +0530 Subject: [PATCH] feat(voice): add close code `4017` (#1538) --- deno/voice/v4.ts | 4 ++++ deno/voice/v8.ts | 4 ++++ voice/v4.ts | 4 ++++ voice/v8.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/voice/v4.ts b/deno/voice/v4.ts index 7a010ce1..46935c42 100644 --- a/deno/voice/v4.ts +++ b/deno/voice/v4.ts @@ -156,6 +156,10 @@ export enum VoiceCloseCodes { * We didn't recognize your encryption */ UnknownEncryptionMode, + /** + * E2EE/DAVE protocol required + */ + EndToEndEncryptionDAVEProtocolRequired, /** * You sent a malformed request */ diff --git a/deno/voice/v8.ts b/deno/voice/v8.ts index 7b46772b..9635f03c 100644 --- a/deno/voice/v8.ts +++ b/deno/voice/v8.ts @@ -152,6 +152,10 @@ export enum VoiceCloseCodes { * We didn't recognize your encryption */ UnknownEncryptionMode, + /** + * E2EE/DAVE protocol required + */ + EndToEndEncryptionDAVEProtocolRequired, /** * You sent a malformed request */ diff --git a/voice/v4.ts b/voice/v4.ts index 7a010ce1..46935c42 100644 --- a/voice/v4.ts +++ b/voice/v4.ts @@ -156,6 +156,10 @@ export enum VoiceCloseCodes { * We didn't recognize your encryption */ UnknownEncryptionMode, + /** + * E2EE/DAVE protocol required + */ + EndToEndEncryptionDAVEProtocolRequired, /** * You sent a malformed request */ diff --git a/voice/v8.ts b/voice/v8.ts index 7b46772b..9635f03c 100644 --- a/voice/v8.ts +++ b/voice/v8.ts @@ -152,6 +152,10 @@ export enum VoiceCloseCodes { * We didn't recognize your encryption */ UnknownEncryptionMode, + /** + * E2EE/DAVE protocol required + */ + EndToEndEncryptionDAVEProtocolRequired, /** * You sent a malformed request */