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

fix: ignore guild msg sending by self

This commit is contained in:
Mrs4s 2021-12-17 21:43:42 +08:00
parent cf49727531
commit 6179d2d351
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -90,6 +90,9 @@ func decodeGuildEventFlowPacket(c *QQClient, _ *incomingPacketInfo, payload []by
// todo: direct message decode
continue
}
if m.Head.RoutingHead.GetFromTinyid() == c.GuildService.TinyId {
continue
}
if cm := c.GuildService.parseGuildChannelMessage(m); cm != nil {
c.dispatchGuildChannelMessage(cm)
}