diff --git a/internal/rpc/group/callback.go b/internal/rpc/group/callback.go index 6d92cfde2..38174738b 100644 --- a/internal/rpc/group/callback.go +++ b/internal/rpc/group/callback.go @@ -51,7 +51,7 @@ func CallbackBeforeCreateGroup(ctx context.Context, req *group.CreateGroupReq) ( RoleLevel: constant.GroupAdmin, }) } - for _, userID := range req.AdminUserIDs { + for _, userID := range req.MemberUserIDs { cbReq.InitMemberList = append(cbReq.InitMemberList, &apistruct.GroupAddMemberInfo{ UserID: userID, RoleLevel: constant.GroupOrdinaryUsers,