From 85358f8585220cf38d311307b3ea8ac0f76c746e Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Thu, 3 Aug 2023 16:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E9=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpc/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/group.go b/rpc/group.go index fec272e..a86d3e0 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)) } -- 2.22.0