Skip to content

Commit

Permalink
Fix typo: waring->warning (#345)
Browse files Browse the repository at this point in the history
* Fix typo

* Fix typo
  • Loading branch information
EatHatsuneShallots authored Feb 26, 2024
1 parent c025459 commit 54bdd87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/guild.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion client/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 54bdd87

Please sign in to comment.