From 32c3f4ebc93ff1d20b5872028bf69808911982f6 Mon Sep 17 00:00:00 2001 From: Eat Hatsune Shallots <160171586+EatHatsuneShallots@users.noreply.github.com> Date: Tue, 20 Feb 2024 21:16:26 +0800 Subject: [PATCH 1/2] Fix typo --- client/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/image.go b/client/image.go index c15b60c03..8ae03fe6e 100644 --- a/client/image.go +++ b/client/image.go @@ -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 } From ee55adf57666d978d248cd10b1b8ad99efd19c77 Mon Sep 17 00:00:00 2001 From: Eat Hatsune Shallots <160171586+EatHatsuneShallots@users.noreply.github.com> Date: Tue, 20 Feb 2024 21:23:08 +0800 Subject: [PATCH 2/2] Fix typo --- client/guild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/guild.go b/client/guild.go index a892e4fc2..a17b7c6e9 100644 --- a/client/guild.go +++ b/client/guild.go @@ -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)