mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
parent
c025459da0
commit
54bdd873e3
@ -757,7 +757,7 @@ func decodeGuildPushFirstView(c *QQClient, pkt *network.Packet) (any, error) {
|
||||
}
|
||||
channels, err := c.GuildService.FetchChannelList(info.GuildId)
|
||||
if err != nil {
|
||||
c.warning("waring: fetch guild %v channel error %v. will use sync node to fill channel list field", guild.GuildId, err)
|
||||
c.warning("warning: fetch guild %v channel error %v. will use sync node to fill channel list field", guild.GuildId, err)
|
||||
for _, node := range guild.ChannelNodes {
|
||||
meta := new(channel.ChannelMsgMeta)
|
||||
_ = proto.Unmarshal(node.Meta, meta)
|
||||
|
@ -122,7 +122,7 @@ ok:
|
||||
width := int32(i.Width)
|
||||
height := int32(i.Height)
|
||||
if err != nil && target.SourceType != message.SourceGroup {
|
||||
c.warning("waring: decode image error: %v. this image will be displayed by wrong size in pc guild client", err)
|
||||
c.warning("warning: decode image error: %v. this image will be displayed by wrong size in pc guild client", err)
|
||||
width = 200
|
||||
height = 200
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user