From 50d9b6399ecb5df0b9812ca855bb63a50bb47f5c Mon Sep 17 00:00:00 2001 From: Him188 Date: Mon, 30 Dec 2019 23:20:47 +0800 Subject: [PATCH] Adjust name --- .../src/commonMain/kotlin/net.mamoe.mirai.timpc/TIMPCBot.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/TIMPCBot.kt b/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/TIMPCBot.kt index 396fe0171..751a0f49f 100644 --- a/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/TIMPCBot.kt +++ b/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/TIMPCBot.kt @@ -97,7 +97,7 @@ internal abstract class TIMPCBotBase constructor( is CanAddFriendResponse.RequireVerification -> { val key = RequestFriendAdditionKeyPacket(qqAccount, id, sessionKey).sendAndExpect().key AddFriendPacket.RequestAdd(qqAccount, id, sessionKey, message, remark, key).sendAndExpect() - AddFriendResult.WAITING_FOR_APPROVE + AddFriendResult.WAITING_FOR_APPROVAL } //这个做的是需要验证消息的情况, 不确定 ReadyToAdd 的是啥 // 似乎 RequireVerification 和 ReadyToAdd 判断错了. 需要重新检查一下