Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
2953188f
Commit
2953188f
authored
Nov 15, 2019
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unrecognizable identity
parent
1db6618e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/protocol/tim/packet/action/AddContact.kt
...oe.mirai/network/protocol/tim/packet/action/AddContact.kt
+5
-5
No files found.
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/protocol/tim/packet/action/AddContact.kt
View file @
2953188f
...
@@ -18,7 +18,7 @@ import net.mamoe.mirai.utils.io.*
...
@@ -18,7 +18,7 @@ import net.mamoe.mirai.utils.io.*
* - 共同群内的群名片
* - 共同群内的群名片
*/
*/
@AnnotatedId
(
KnownPacketId
.
QUERY_PREVIOUS_NAME
)
@AnnotatedId
(
KnownPacketId
.
QUERY_PREVIOUS_NAME
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
.21173
"
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
(21173)
"
)
object
QueryPreviousNamePacket
:
SessionPacketFactory
<
PreviousNameList
>()
{
object
QueryPreviousNamePacket
:
SessionPacketFactory
<
PreviousNameList
>()
{
operator
fun
invoke
(
operator
fun
invoke
(
bot
:
UInt
,
bot
:
UInt
,
...
@@ -88,7 +88,7 @@ enum class AddFriendResult {
...
@@ -88,7 +88,7 @@ enum class AddFriendResult {
* @author Him188moe
* @author Him188moe
*/
*/
@AnnotatedId
(
KnownPacketId
.
CAN_ADD_FRIEND
)
@AnnotatedId
(
KnownPacketId
.
CAN_ADD_FRIEND
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
.21173
"
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
(21173)
"
)
object
CanAddFriendPacket
:
SessionPacketFactory
<
CanAddFriendResponse
>()
{
object
CanAddFriendPacket
:
SessionPacketFactory
<
CanAddFriendResponse
>()
{
operator
fun
invoke
(
operator
fun
invoke
(
bot
:
UInt
,
bot
:
UInt
,
...
@@ -104,7 +104,7 @@ object CanAddFriendPacket : SessionPacketFactory<CanAddFriendResponse>() {
...
@@ -104,7 +104,7 @@ object CanAddFriendPacket : SessionPacketFactory<CanAddFriendResponse>() {
}
}
val
qq
:
QQ
=
readUInt
().
qq
()
val
qq
:
QQ
=
readUInt
().
qq
()
discardExact
(
0
)
discardExact
(
1
)
return
when
(
val
state
=
readUByte
().
toUInt
())
{
return
when
(
val
state
=
readUByte
().
toUInt
())
{
//09 4E A4 B1 00 03
//09 4E A4 B1 00 03
...
@@ -165,7 +165,7 @@ inline class FriendAdditionKey(val value: IoBuffer)
...
@@ -165,7 +165,7 @@ inline class FriendAdditionKey(val value: IoBuffer)
* 请求一个 32 位 Key, 在添加好友时发出
* 请求一个 32 位 Key, 在添加好友时发出
*/
*/
@AnnotatedId
(
KnownPacketId
.
REQUEST_FRIEND_ADDITION_KEY
)
@AnnotatedId
(
KnownPacketId
.
REQUEST_FRIEND_ADDITION_KEY
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
.21173
"
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
(21173)
"
)
object
RequestFriendAdditionKeyPacket
:
SessionPacketFactory
<
RequestFriendAdditionKeyPacket
.
Response
>()
{
object
RequestFriendAdditionKeyPacket
:
SessionPacketFactory
<
RequestFriendAdditionKeyPacket
.
Response
>()
{
operator
fun
invoke
(
operator
fun
invoke
(
bot
:
UInt
,
bot
:
UInt
,
...
@@ -192,7 +192,7 @@ object RequestFriendAdditionKeyPacket : SessionPacketFactory<RequestFriendAdditi
...
@@ -192,7 +192,7 @@ object RequestFriendAdditionKeyPacket : SessionPacketFactory<RequestFriendAdditi
* 请求添加好友
* 请求添加好友
*/
*/
@AnnotatedId
(
KnownPacketId
.
ADD_FRIEND
)
@AnnotatedId
(
KnownPacketId
.
ADD_FRIEND
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
.21173
"
)
@PacketVersion
(
date
=
"2019.11.11"
,
timVersion
=
"2.3.2
(21173)
"
)
object
AddFriendPacket
:
SessionPacketFactory
<
AddFriendPacket
.
Response
>()
{
object
AddFriendPacket
:
SessionPacketFactory
<
AddFriendPacket
.
Response
>()
{
operator
fun
invoke
(
operator
fun
invoke
(
bot
:
UInt
,
bot
:
UInt
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment