From adfde3a6ae009f43100e495cc908e46798b24f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Spie=C3=9F?= Date: Sat, 4 May 2024 14:24:16 +0200 Subject: [PATCH] Also use _trace from resumed event --- .../java/net/dv8tion/jda/internal/requests/WebSocketClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java b/src/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java index f3712753f0..401bcbf683 100644 --- a/src/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java +++ b/src/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java @@ -985,6 +985,7 @@ protected void onDispatch(DataObject raw) case "RESUMED": reconnectTimeoutS = 2; sentAuthInfo = true; + traceMetadata = content.opt("_trace").map(String::valueOf).orElse(traceMetadata); if (!processingReady) { initiating = false;