1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

fix: receiver is 0 at MacOS protocol

This commit is contained in:
MingxuanGame 2022-04-10 20:47:53 +08:00
parent 6e7053381e
commit dc9e4254ec
No known key found for this signature in database
GPG Key ID: 90C7EFA11DC3C2FF

View File

@ -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,