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:
parent
87e53dd6e2
commit
35f774b86a
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user