Commit 85358f85 authored by chenweijian's avatar chenweijian

上麦

parent 59665fce
...@@ -220,7 +220,7 @@ func MicIn(model *domain.Model, groupId, nonce, token string) error { ...@@ -220,7 +220,7 @@ func MicIn(model *domain.Model, groupId, nonce, token string) error {
model.Log.Errorf("MicIn json fail:%v", err) model.Log.Errorf("MicIn json fail:%v", err)
return 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)) 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)) return errors.New(fmt.Sprintf("Mic In Not 200:%v", response))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment