From ba7e50de31416241c52ca67964b049d4aa11ead4 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 3 Oct 2019 19:37:02 +0800 Subject: [PATCH] Not use random device name --- .../mirai/network/protocol/tim/packet/login/ClientLogin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/packet/login/ClientLogin.kt b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/packet/login/ClientLogin.kt index d0830ac44..e685f9835 100644 --- a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/packet/login/ClientLogin.kt +++ b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/network/protocol/tim/packet/login/ClientLogin.kt @@ -99,7 +99,7 @@ private fun DataOutputStream.writePart1(qq: Long, password: String, loginTime: I this.writeHex("00 38")//length this.write(token0825)//length this.writeHex("03 0F")//tag - this.writeDeviceName(true) + this.writeDeviceName(false) this.writeHex("00 05 00 06 00 02") this.writeQQ(qq)