Commit 25c5ed2e authored by chenweijian's avatar chenweijian

Merge branch 'feature/create_trtc' into 'master'

创建的新房就都标记成trtc房间

See merge request !24
parents b387e695 33f96a39
......@@ -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
})
}
......
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