diff --git a/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/voice/PttStore.kt b/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/voice/PttStore.kt index c2960d69c..e442dba7d 100644 --- a/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/voice/PttStore.kt +++ b/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/voice/PttStore.kt @@ -171,7 +171,7 @@ internal class PttStore { buType = 3, innerIp = 0, buildVer = "8.5.5".encodeToByteArray(), - codec = 0, + codec = ptt.format, reqTerm = 5, reqPlatformType = 9, )