diff --git a/rpc/group.go b/rpc/group.go index fec272e79689bf95862ff2171fddf0571a278e9d..a86d3e0859fa9e8f053f97c081b77c7fb10b0b72 100644 --- a/rpc/group.go +++ b/rpc/group.go @@ -220,7 +220,7 @@ func MicIn(model *domain.Model, groupId, nonce, token string) error { model.Log.Errorf("MicIn json fail:%v", err) return err } - if response.Code != 200 || response.Data.MicIndex < 0 { + if response.Code != 200 { model.Log.Errorf(fmt.Sprintf("Mic In Not 200:%v,groupId:%v", response, groupId)) return errors.New(fmt.Sprintf("Mic In Not 200:%v", response)) }