mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix: ignore guild msg sending by self
This commit is contained in:
parent
cf49727531
commit
6179d2d351
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user