mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 14:20:24 +08:00
Adjust name
This commit is contained in:
parent
25947a6fad
commit
50d9b6399e
@ -97,7 +97,7 @@ internal abstract class TIMPCBotBase constructor(
|
||||
is CanAddFriendResponse.RequireVerification -> {
|
||||
val key = RequestFriendAdditionKeyPacket(qqAccount, id, sessionKey).sendAndExpect<RequestFriendAdditionKeyPacket.Response>().key
|
||||
AddFriendPacket.RequestAdd(qqAccount, id, sessionKey, message, remark, key).sendAndExpect<AddFriendPacket.Response>()
|
||||
AddFriendResult.WAITING_FOR_APPROVE
|
||||
AddFriendResult.WAITING_FOR_APPROVAL
|
||||
} //这个做的是需要验证消息的情况, 不确定 ReadyToAdd 的是啥
|
||||
|
||||
// 似乎 RequireVerification 和 ReadyToAdd 判断错了. 需要重新检查一下
|
||||
|
Loading…
Reference in New Issue
Block a user