Skip to content

Commit 5366f94

Browse files
committed
fix: logic
1 parent 901ff04 commit 5366f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

goneonize/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ func SetGroupPhoto(id *C.char, JIDByte *C.uchar, JIDSize C.int, Photo *C.uchar,
981981
return_.Error = proto.String(err_status.Error())
982982
}
983983
return_buf, err_marshal := proto.Marshal(&return_)
984-
if err != nil {
984+
if err_marshal != nil {
985985
panic(err_marshal)
986986
}
987987
return ReturnBytes(return_buf)

0 commit comments

Comments
 (0)