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

client: fix wrong event dispatch

This commit is contained in:
wdvxdr 2022-03-18 22:51:14 +08:00
parent 87e53dd6e2
commit 35f774b86a
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -59,7 +59,7 @@ func (c *QQClient) SendPrivateMessage(target int64, m *message.SendingMessage) *
}, },
Elements: m.Elements, Elements: m.Elements,
} }
go c.PrivateMessageEvent.dispatch(c, ret) go c.SelfPrivateMessageEvent.dispatch(c, ret)
return ret return ret
} }