This commit is contained in:
wangchuxiao
2023-05-09 20:05:56 +08:00
parent 22f4c3bf89
commit de2f3a8582
4 changed files with 8 additions and 1 deletions
+2
View File
@@ -5,6 +5,7 @@ import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/a2r"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
"github.com/OpenIMSDK/Open-IM-Server/pkg/proto/group"
@@ -26,6 +27,7 @@ func (o *Group) client(ctx context.Context) (group.GroupClient, error) {
if err != nil {
return nil, err
}
log.ZDebug(ctx, "get conn", o.c.GetClientLocalConns())
return group.NewGroupClient(conn), nil
}