From e7bcb190a7662350211897b29314bad0f332e6d9 Mon Sep 17 00:00:00 2001 From: sandtechnology <20417547+sandtechnology@users.noreply.github.com> Date: Fri, 13 Jan 2023 20:28:28 +0800 Subject: [PATCH] Update ANDROID_PHONE and ANDROID_PAD protocol (#2423) Updated From MiraiGo:https://github.com/Mrs4s/MiraiGo/commit/a30750849d601fa37bf185aea41a2f7f2dfd74d1 --- .../kotlin/utils/MiraiProtocolInternal.kt | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/mirai-core/src/commonMain/kotlin/utils/MiraiProtocolInternal.kt b/mirai-core/src/commonMain/kotlin/utils/MiraiProtocolInternal.kt index 7ea1a407e..dff616b2f 100644 --- a/mirai-core/src/commonMain/kotlin/utils/MiraiProtocolInternal.kt +++ b/mirai-core/src/commonMain/kotlin/utils/MiraiProtocolInternal.kt @@ -33,29 +33,31 @@ internal class MiraiProtocolInternal( protocols[protocol] ?: error("Internal Error: Missing protocol $protocol") init { + //Updated from MiraiGo (2023/1/12) protocols[MiraiProtocol.ANDROID_PHONE] = MiraiProtocolInternal( "com.tencent.mobileqq", - 537138832, - "8.9.15.9425", - "6.0.0.2494", + 537143097, + "8.9.23.9425", + "6.0.0.2530", 150470524, 0x10400, 16724722, "A6 B7 45 BF 24 A2 C2 77 52 77 16 F6 F3 6E B6 8D", 1640921786L, - 16, + 19, ) + //Updated from MiraiGo (2023/1/12) protocols[MiraiProtocol.ANDROID_PAD] = MiraiProtocolInternal( "com.tencent.mobileqq", - 537062409, - "8.4.18", - "6.0.0.2454", - 184024956, + 537142586, + "8.9.23.9425", + "6.0.0.2530", + 150470524, 0x10400, - 34869472, + 16724722, "A6 B7 45 BF 24 A2 C2 77 52 77 16 F6 F3 6E B6 8D", - 1604580615L, - 15, + 1640921786L, + 19, ) protocols[MiraiProtocol.ANDROID_WATCH] = MiraiProtocolInternal( "com.tencent.qqlite",