From 92a272b038f41ca82d5dea463baa9949b8b80fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ZX=E5=A4=8F=E5=A4=9C=E4=B9=8B=E9=A3=8E?= Date: Thu, 4 Jul 2024 17:12:09 +0800 Subject: [PATCH] Missing bucket name for streaming API --- src/main/java/snw/kookbc/impl/network/Bucket.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/snw/kookbc/impl/network/Bucket.java b/src/main/java/snw/kookbc/impl/network/Bucket.java index 23678f63..6cdc9f0e 100644 --- a/src/main/java/snw/kookbc/impl/network/Bucket.java +++ b/src/main/java/snw/kookbc/impl/network/Bucket.java @@ -110,6 +110,9 @@ public static Bucket get(KBCClient client, HttpAPIRoute route) { bucketNameMap.put(HttpAPIRoute.CHANNEL_UPDATE, "channel/update"); bucketNameMap.put(HttpAPIRoute.CHANNEL_DELETE, "channel/delete"); bucketNameMap.put(HttpAPIRoute.CHANNEL_USER_LIST, "channel/user-list"); + bucketNameMap.put(HttpAPIRoute.VOICE_JOIN, "voice/join"); + bucketNameMap.put(HttpAPIRoute.VOICE_LEAVE, "voice/leave"); + bucketNameMap.put(HttpAPIRoute.VOICE_LIST, "voice/list"); bucketNameMap.put(HttpAPIRoute.MOVE_USER, "channel/move-user"); bucketNameMap.put(HttpAPIRoute.CHANNEL_ROLE_CREATE, "channel-role/create"); bucketNameMap.put(HttpAPIRoute.CHANNEL_ROLE_UPDATE, "channel-role/update");