mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
Merge pull request #267 from MingxuanGame/master
fix: receiver is 0 at the private poke event by MacOS protocol
This commit is contained in:
commit
2ccf935230
@ -231,6 +231,9 @@ func msgType0x210Sub122Decoder(c *QQClient, protobuf []byte) error {
|
||||
if sender == 0 {
|
||||
return nil
|
||||
}
|
||||
if receiver == 0 {
|
||||
receiver = c.Uin
|
||||
}
|
||||
c.FriendNotifyEvent.dispatch(c, &FriendPokeNotifyEvent{
|
||||
Sender: sender,
|
||||
Receiver: receiver,
|
||||
|
Loading…
x
Reference in New Issue
Block a user