mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 08:33:12 +02:00
enable full auto networking for temporary name
This commit is contained in:
parent
9024f15d25
commit
23378a79ab
1 changed files with 7 additions and 1 deletions
|
@ -655,7 +655,9 @@ function chooseFromHighFidelityDomains(clickedButton) {
|
||||||
function createTemporaryDomain() {
|
function createTemporaryDomain() {
|
||||||
swal({
|
swal({
|
||||||
title: 'Create temporary place name',
|
title: 'Create temporary place name',
|
||||||
text: "This will create a temporary place name and domain ID (valid for 30 days) so other users can easily connect to your domain.",
|
text: "This will create a temporary place name and domain ID (valid for 30 days)"
|
||||||
|
+ " so other users can easily connect to your domain.</br></br>"
|
||||||
|
+ "In order to make your domain reachable, this will also enable full automatic networking.",
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonText: 'Create',
|
confirmButtonText: 'Create',
|
||||||
closeOnConfirm: false,
|
closeOnConfirm: false,
|
||||||
|
@ -671,6 +673,10 @@ function createTemporaryDomain() {
|
||||||
|
|
||||||
// we should have a new domain ID - set it on the domain ID value
|
// we should have a new domain ID - set it on the domain ID value
|
||||||
$(Settings.DOMAIN_ID_SELECTOR).val(domain.id).change();
|
$(Settings.DOMAIN_ID_SELECTOR).val(domain.id).change();
|
||||||
|
|
||||||
|
// we also need to make sure auto networking is set to full
|
||||||
|
$('[data-hidden-input="metaverse.automatic_networking"]').val("full").change();
|
||||||
|
|
||||||
swal({
|
swal({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
title: 'Success!',
|
title: 'Success!',
|
||||||
|
|
Loading…
Reference in a new issue