Skip to content

Commit

Permalink
lint: make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Jul 22, 2024
1 parent 53842bc commit a50d325
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ func decodeOlPushServicePacket(c *QQClient, pkt *network.Packet) (any, error) {
case 44: // group admin changed
pb := message.GroupAdmin{}
err = proto.Unmarshal(pkg.Body.MsgContent, &pb)
if err != nil {
return nil, err
}
ev := eventConverter.ParseGroupMemberPermissionChanged(&pb)
_ = c.PreprocessOther(ev)
c.GroupMemberPermissionChangedEvent.dispatch(c, ev)
Expand Down

0 comments on commit a50d325

Please sign in to comment.