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

Fix typo: waring->warning (#345)

* Fix typo

* Fix typo
This commit is contained in:
Eat Hatsune Shallots 2024-02-26 20:46:53 +08:00 committed by GitHub
parent c025459da0
commit 54bdd873e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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
}