Skip to content

Commit

Permalink
fix: logic
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte committed Jan 10, 2025
1 parent 901ff04 commit 5366f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goneonize/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ func SetGroupPhoto(id *C.char, JIDByte *C.uchar, JIDSize C.int, Photo *C.uchar,
return_.Error = proto.String(err_status.Error())
}
return_buf, err_marshal := proto.Marshal(&return_)
if err != nil {
if err_marshal != nil {
panic(err_marshal)
}
return ReturnBytes(return_buf)
Expand Down

0 comments on commit 5366f94

Please sign in to comment.