mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-05 03:23:50 +08:00
fix: missing args
This commit is contained in:
parent
551a865d9e
commit
e02a9ece6e
@ -433,7 +433,7 @@ func decodeGuildPushFirstView(c *QQClient, _ *incomingPacketInfo, payload []byte
|
|||||||
}
|
}
|
||||||
channels, err := c.GuildService.FetchChannelList(info.GuildId)
|
channels, err := c.GuildService.FetchChannelList(info.GuildId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.Warning("waring: fetch guild %v channel error %v. will use sync node to fill channel list field")
|
c.Warning("waring: fetch guild %v channel error %v. will use sync node to fill channel list field", guild.GuildId, err)
|
||||||
for _, node := range guild.ChannelNodes {
|
for _, node := range guild.ChannelNodes {
|
||||||
meta := new(channel.ChannelMsgMeta)
|
meta := new(channel.ChannelMsgMeta)
|
||||||
_ = proto.Unmarshal(node.Meta, meta)
|
_ = proto.Unmarshal(node.Meta, meta)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user