private void updateProperties(TurmsProperties properties) {
        GroupProperties groupProperties = properties.getService()
                .getGroup();
        activateGroupWhenCreated = groupProperties.isActivateGroupWhenCreated();
        allowGroupOwnerChangeGroupType = groupProperties.isAllowGroupOwnerChangeGroupType();
        deleteGroupLogicallyByDefault = groupProperties.isDeleteGroupLogicallyByDefault();
    }
@param messageService is lazy because messageService -> groupService -> messageService
turms-service/src/main/java/im/turms/service/domain/group/service/GroupService.java