Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wdvxdr1123 committed Oct 13, 2020
1 parent f414ad7 commit d9901f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion message/elements.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ type GroupShowPicElement struct {
EffectId int32
}

type FriendFlashPicElement struct{
type FriendFlashPicElement struct {
FriendImageElement
}

Expand Down
4 changes: 2 additions & 2 deletions message/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
}
}
for _, elem := range elems {
if e,ok := elem.(IRichMessageElement);ok{
if e, ok := elem.(IRichMessageElement); ok {
r = append(r, e.Pack()...)
}
}
Expand Down Expand Up @@ -485,7 +485,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
Size: flash.FlashTroopPic.Size,
Width: flash.FlashTroopPic.Width,
Height: flash.FlashTroopPic.Height,
Md5: flash.FlashTroopPic.Md5,
Md5: flash.FlashTroopPic.Md5,
})
}
if flash.FlashC2CPic != nil {
Expand Down

0 comments on commit d9901f5

Please sign in to comment.