From 1534d83da39df9337c6a0cfa12a8073d32fb6e17 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Tue, 25 Apr 2023 11:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=9A=84=E6=96=B0=E6=88=BF?= =?UTF-8?q?=E5=B0=B1=E9=83=BD=E6=A0=87=E8=AE=B0=E6=88=90trtc=E6=88=BF?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- domain/service/group_s/group_op.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/domain/service/group_s/group_op.go b/domain/service/group_s/group_op.go index f9906a2..119ce6b 100644 --- a/domain/service/group_s/group_op.go +++ b/domain/service/group_s/group_op.go @@ -42,6 +42,10 @@ func (s *GroupService) CreateGroup(userId uint64, g *group_m.GroupInfo) error { if err := group_m.CreateGroupRole(model, g.ImGroupId, userId, group_e.GROUP_OWNER); err != nil { return err } + // 新房间标记成trtc房间 + if err := group_m.InitTRTC(model, g.ImGroupId); err != nil { + model.Log.Errorf("CreateGroup g:%+v, err:%v", g, err) + } return nil }) } -- 2.22.0